Fix crash in nodeAgg.c due to tuplesort memory lifetime issue

Title Fix crash in nodeAgg.c due to tuplesort memory lifetime issue
Topic Bug Fixes
Created 2017-12-17 15:46:09
Last modified 2018-03-28 17:27:32 (6 years ago)
Latest email 2018-03-28 17:33:54 (6 years ago)
2018-03: Committed
2018-01: Moved to next CF
Target version
Authors Peter Geoghegan (pgeoghegan)
Reviewers Kyotaro Horiguchi (horiguti)Become reviewer
Committer Tom Lane (tgl)
PostgreSQL crashes with SIGSEGV
First at 2017-12-07 15:47:18 by Bernd Helmle <mailings at>
Latest at 2018-03-28 17:33:54 by Peter Geoghegan <pg at>
Latest attachment (REL9_6_STABLE-fix-double-free-tuplesort.patch) at 2018-02-23 00:22:47 from Peter Geoghegan <pg at>
    Attachment (REL9_6_STABLE-fix-double-free-tuplesort.patch) at 2018-02-23 00:22:47 from Peter Geoghegan <pg at> (Patch: Yes)
    Attachment (WIP-kludge-fix.patch) at 2017-12-17 01:40:24 from Peter Geoghegan <pg at> (Patch: Yes)
BUG #15053: SIGSEGV - While executing query with cube agregator
First at 2018-02-06 17:33:07 by PG Bug reporting form <noreply at>
Latest at 2018-02-07 16:05:07 by Peter Geoghegan <pg at>
When Who What
2018-03-28 17:27:32 Tom Lane (tgl) Closed in commitfest 2018-03 with status: Committed
2018-03-28 15:53:30 Tom Lane (tgl) Changed reviewers to Kyotaro Horiguchi (horiguti)
2018-03-28 15:52:06 Tom Lane (tgl) Added tgl as committer
2018-02-20 16:17:36 Andreas Seltenreich (ansel) Attached mail thread
2018-02-06 22:05:42 Daniel Gustafsson (d_gustafsson) Closed in commitfest 2018-01 with status: Moved to next CF
2018-01-18 05:51:46 Aleksandr Parfenov (a.parfenov) Removed a.parfenov from reviewers
2018-01-18 05:51:42 Aleksandr Parfenov (a.parfenov) New status: Needs review
2018-01-16 07:52:26 Aleksandr Parfenov (a.parfenov) Posted review with messageid <>
2018-01-16 07:52:26 Aleksandr Parfenov (a.parfenov) New status: Ready for Committer
2018-01-12 14:34:40 Aleksandr Parfenov (a.parfenov) Added a.parfenov as reviewer
2017-12-17 15:46:21 Peter Geoghegan (pgeoghegan) Changed authors to Peter Geoghegan (pgeoghegan)
2017-12-17 15:46:09 Peter Geoghegan (pgeoghegan) Attached mail thread
2017-12-17 15:46:09 Peter Geoghegan (pgeoghegan) Created patch record