diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-01-17 20:35:27 +0000 | 
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-01-17 20:35:27 +0000 | 
| commit | a44174cf907c069679af2d3b21c18420bb51509f (patch) | |
| tree | ec1be8a877ffe7ac5b550abffac5f7074b37da26 /src/include/parser/parse_node.h | |
| parent | 0df7717faa92ffc9d722495e2904767993b19d86 (diff) | |
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/include/parser/parse_node.h')
0 files changed, 0 insertions, 0 deletions
