diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-06-21 00:14:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-06-21 00:14:48 +0000 |
commit | f685cbbac849064a170375e41fc36ad517f6210c (patch) | |
tree | 5c6e3c318703bb8604f04e053d564c3152e771b8 /src/backend/commands/operatorcmds.c | |
parent | 31c47e53aa4b951bdd54eb6b47590e6c9124e427 (diff) | |
download | postgresql-f685cbbac849064a170375e41fc36ad517f6210c.tar.gz postgresql-f685cbbac849064a170375e41fc36ad517f6210c.zip |
Fix mishandling of whole-row Vars referencing a view or sub-select.
If such a Var appeared within a nested sub-select, we failed to translate it
correctly during pullup of the view, because the recursive call to
replace_rte_variables_mutator was looking for the wrong sublevels_up value.
Bug was introduced during the addition of the PlaceHolderVar mechanism.
Per bug #5514 from Marcos Castedo.
Diffstat (limited to 'src/backend/commands/operatorcmds.c')
0 files changed, 0 insertions, 0 deletions