• Tom Lane's avatar
    Tweak querytree-dependency-extraction code so that columns of tables · 6fdc44be
    Tom Lane authored
    that are explicitly JOINed are not considered dependencies unless they
    are actually used in the query: mere presence in the joinaliasvars
    list of a JOIN RTE doesn't count as being used.  The patch touches
    a number of files because I needed to generalize the API of
    query_tree_walker to support an additional flag bit, but the changes
    are otherwise quite small.
    6fdc44be
prepunion.c 25.5 KB