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.
prepjointree.c (r184.108.40.206 -> r220.127.116.11)
subselect.out (r1.22 -> r18.104.22.168)
subselect.sql (r1.14 -> r22.214.171.124)
pgsql-committers by date
|Next:||From: Heikki Linnakangas||Date: 2010-06-21 09:47:29|
|Subject: pgsql: In a PL/pgSQL "FOR cursor" statement, the statements executed in |
|Previous:||From: Tom Lane||Date: 2010-06-21 00:14:48|
|Subject: pgsql: Fix mishandling of whole-row Vars referencing a view or |