• Tom Lane's avatar
    Fix ruleutils' get_variable() to print something useful for Vars referencing · 2b8a6245
    Tom Lane authored
    resjunk outputs of subquery tlists, instead of throwing an error.  Per bug
    #5548 from Daniel Grace.
    
    We might at some point find we ought to back-patch this further than 9.0,
    but I think that such Vars can only occur as resjunk members of upper-level
    tlists, in which case the problem can't arise because prior versions didn't
    print resjunk tlist items in EXPLAIN VERBOSE.
    2b8a6245
ruleutils.c 180 KB