diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-09-25 19:03:50 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-09-25 19:03:50 -0400 |
commit | c8c03d72e10cab3cc47975b2689c8efbb4eade94 (patch) | |
tree | 8b2d457b2976c808393db387e99d5e61aa5606a1 /src/backend/parser/parse_utilcmd.c | |
parent | 635de8365f0299cfa2db24c56abcfccb65d020f0 (diff) | |
download | postgresql-c8c03d72e10cab3cc47975b2689c8efbb4eade94.tar.gz postgresql-c8c03d72e10cab3cc47975b2689c8efbb4eade94.zip |
Fix another join removal bug: the check on PlaceHolderVars was wrong.
The previous coding would decide that join removal was unsafe upon finding
a PlaceHolderVar that needed to be evaluated at the inner rel and then used
above the join. However, this fails to cover the case of PlaceHolderVars
that refer to both the inner rel and some other rels. Per bug report from
Andrus.
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions