Improper const-evaluation of HAVING with grouping sets and subquery pullup

Edit
ID 1324
Title Improper const-evaluation of HAVING with grouping sets and subquery pullup
Topic Bug Fixes
Created 2017-10-15 13:12:55
Last modified 2018-01-12 18:10:00 (6 years, 10 months ago)
Latest email 2018-01-12 17:45:01 (6 years, 10 months ago)
Status
2018-01: Committed
2017-11: Moved to next CF
Target version
Authors Heikki Linnakangas (heikki)
Reviewers Tom Lane (tgl), Andrew Gierth (rhodiumtoad)Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/1324
git checkout commitfest/cf/1324
Emails
Improper const-evaluation of HAVING with grouping sets and subquery pullup
First at 2017-10-12 11:59:12 by Heikki Linnakangas <hlinnaka at iki.fi>
Latest at 2018-01-12 17:45:01 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (fix-grouping-sets-pullup-v2.patch) at 2018-01-11 22:46:54 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (fix-grouping-sets-pullup-v2.patch) at 2018-01-11 22:46:54 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (check-sortgroupref-for-Vars-too-2.patch) at 2017-10-25 19:29:08 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (check-sortgroupref-for-Vars-too.patch) at 2017-10-18 15:42:38 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (0001-Fix-subquery-pullup-into-a-query-containing-GROUPING.patch) at 2017-10-12 11:59:12 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
History
When Who What
2018-01-12 18:10:00 Tom Lane (tgl) Closed in commitfest 2018-01 with status: Committed
2018-01-12 17:01:43 Tom Lane (tgl) Added tgl as committer
2017-11-29 05:08:11 Michael Paquier (michael-kun) Closed in commitfest 2017-11 with status: Moved to next CF
2017-10-16 22:24:27 Tom Lane (tgl) Added tgl as reviewer
2017-10-16 00:26:35 Andrew Gierth (rhodiumtoad) Added rhodiumtoad as reviewer
2017-10-15 13:13:11 Heikki Linnakangas (heikki) Changed authors to Heikki Linnakangas (heikki)
2017-10-15 13:12:56 Heikki Linnakangas (heikki) Attached mail thread 7dbdcf5c-b5a6-ef89-4958-da212fe10176@iki.fi
2017-10-15 13:12:55 Heikki Linnakangas (heikki) Created patch record
Edit