pgsql: Fix crash in assign_collations_walker for EXISTS with empty SELE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix crash in assign_collations_walker for EXISTS with empty SELE
Date: 2013-12-03 01:29:40
Message-ID: E1Vneo0-0007jm-Jm@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7ab321404c4f721a22e86f36f68fe5e94f65e54d

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2013-12-03 03:41:00 pgsql: doc: Refine documentation about recovery command exist status
Previous Message Tom Lane 2013-12-02 21:07:00 pgsql: Stamp 8.4.19.