diff options
author | Robert Haas <rhaas@postgresql.org> | 2024-05-21 12:54:09 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2024-05-21 12:54:09 -0400 |
commit | c37267162e889fe783786b9e28d1b65b82365a00 (patch) | |
tree | 0cbb5e2dbf8351f919cdd355a9f0a198c0db5b75 /src/backend/parser/parse_utilcmd.c | |
parent | 12933dc6048902ba891f9572cab96981f50ef669 (diff) | |
download | postgresql-c37267162e889fe783786b9e28d1b65b82365a00.tar.gz postgresql-c37267162e889fe783786b9e28d1b65b82365a00.zip |
Fix generate_union_paths for non-sortable types.REL_17_BETA1
The previous logic would fail to set groupList when
grouping_is_sortable() returned false, which could cause queries
to return wrong answers when some columns were not sortable.
David Rowley, reviewed by Heikki Linnakangas and Álvaro Herrera.
Reported by Hubert "depesz" Lubaczewski.
Discussion: http://postgr.es/m/Zktzf926vslR35Fv@depesz.com
Discussion: http://postgr.es/m/CAApHDvra=c8_zZT0J-TftByWN2Y+OJfnjNJFg4Dfdi2s+QzmqA@mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions