]> 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:44 +0000 (16:36 -0500)
commit449d5acd7d02fae0086ecfbbd45a13f28a40e795
treed8f9ad2c0cf0e5088aec7f986ee0e9b41492956b
parentc6ec8793aa59d1842082e14b4b4aae7d4bd883fd
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