summaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgdoinsert.c
diff options
context:
space:
mode:
authorAndrew Gierth <rhodiumtoad@postgresql.org>2018-03-21 11:34:09 +0000
committerAndrew Gierth <rhodiumtoad@postgresql.org>2018-03-21 11:41:53 +0000
commitcf21c46495897cf3a59f2b1230b522a969a17bea (patch)
treeda205122a9899cbb9549c27f4c6ccfe3036caa39 /src/backend/access/spgist/spgdoinsert.c
parent5b1b7286c9e12dfe6aad6d722b704d3e948a3d03 (diff)
Repair crash with unsortable grouping sets.
If there were multiple grouping sets, none of them empty, all of which were unsortable, then an oversight in consider_groupingsets_paths led to a null pointer dereference. Fix, and add a regression test for this case. Per report from Dang Minh Huong, though I didn't use their patch. Backpatch to 10.x where hashed grouping sets were added.
Diffstat (limited to 'src/backend/access/spgist/spgdoinsert.c')
0 files changed, 0 insertions, 0 deletions