aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-09-25 19:03:50 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2010-09-25 19:03:50 -0400
commitc8c03d72e10cab3cc47975b2689c8efbb4eade94 (patch)
tree8b2d457b2976c808393db387e99d5e61aa5606a1 /src/backend/parser/parse_utilcmd.c
parent635de8365f0299cfa2db24c56abcfccb65d020f0 (diff)
downloadpostgresql-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