• T
    Fix mishandling of whole-row Vars referencing a view or sub-select · 385bb3cb
    Tom Lane 提交于
    commit c4ac2ff765d9b68a3ff2a3461804489721770d06
    Author: Tom Lane <tgl@sss.pgh.pa.us>
    Date:   Mon Jun 21 00:14:54 2010 +0000
    
        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.
    385bb3cb
prepjointree.c 67.3 KB