aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-01-17 20:35:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-01-17 20:35:34 +0000
commit412eaece244e9870fb3c12eb5189744421c9a306 (patch)
tree4601d56b175586e557b39e11cbf5b8b624475904 /src/tutorial
parentdcd462a9c0742a5b4bfb75e6d3c7d41fe799e0d7 (diff)
downloadpostgresql-412eaece244e9870fb3c12eb5189744421c9a306.tar.gz
postgresql-412eaece244e9870fb3c12eb5189744421c9a306.zip
Fix subselect.c to avoid assuming that a SubLink's testexpr references each
subquery output column exactly once left-to-right. Although this is the case in the original parser output, it might not be so after rewriting and constant-folding, as illustrated by bug #3882 from Jan Mate. Instead scan the subquery's target list to obtain needed per-column information; this is duplicative of what the parser did, but only a couple dozen lines need be copied, and we can clean up a couple of notational uglinesses. Bug was introduced in 8.2 as part of revision of SubLink representation.
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions