pgsql: Fix crash in assign_collations_walker for EXISTS with empty SELE
pgsql: Fix crash in assign_collations_walker for EXISTS with empty SELE
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Fix crash in assign_collations_walker for EXISTS with empty SELECT list. We (I think I, actually) forgot about this corner case while coding collation resolution. Per bug #8648 from Arjen Nienhuis. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/b44ae4893db20233b470e41916b67799a1738bf4 Modified Files -------------- src/backend/parser/parse_collate.c | 10 ++++++++-- src/test/regress/expected/subselect.out | 10 ++++++++++ src/test/regress/sql/subselect.sql | 6 ++++++ 3 files changed, 24 insertions(+), 2 deletions(-)