]> 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:27 +0000 (16:36 -0500)
commitebefbb5fdeba885bb57d2f2e1eb185a46c9d777d
tree595221ade65210cb309726a51b079ab65d2ccbe2
parent0b7e660d6c70f45e06f1b52f255116bcb44624eb
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