aboutsummaryrefslogtreecommitdiff
path: root/contrib/test_decoding/test_decoding.c
diff options
context:
space:
mode:
authorAndrew Gierth <rhodiumtoad@postgresql.org>2018-03-21 10:42:04 +0000
committerAndrew Gierth <rhodiumtoad@postgresql.org>2018-03-21 11:39:28 +0000
commitd2d79887eadff72c339a072ef693bb6016651d30 (patch)
treedc777dcbe00114aef09beeb6bdc2eea6524202b7 /contrib/test_decoding/test_decoding.c
parentaea7c17e86e99a7ed4da489b3df2b5493b5e5e95 (diff)
downloadpostgresql-d2d79887eadff72c339a072ef693bb6016651d30.tar.gz
postgresql-d2d79887eadff72c339a072ef693bb6016651d30.zip
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 'contrib/test_decoding/test_decoding.c')
0 files changed, 0 insertions, 0 deletions