]> granicus.if.org Git - postgresql/commit
Fix failure with whole-row reference to a subquery.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Nov 2013 21:36:27 +0000 (16:36 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Nov 2013 21:36:41 +0000 (16:36 -0500)
commite243bd79d98ff4dc5acc20a290dbdc1ad2e17e91
tree18f71e1242c3bbe0ba08c825bee01acbc75179ce
parentfbbd150a25676076b5ed0e68f77adafcf46c1f4d
Fix failure with whole-row reference to a subquery.

Simple oversight in commit 1cb108efb0e60d87e4adec38e7636b6e8efbeb57 ---
recursively examining a subquery output column is only sane if the
original Var refers to a single output column.  Found by Kevin Grittner.
src/backend/utils/adt/selfuncs.c