• Tom Lane's avatar
    Back out prior patch and instead just suppress SubqueryScan elimination · e35e6b1c
    Tom Lane authored
    when there are extra resjunk columns in the child node.  I found some
    additional cases involving Append nodes that weren't handled by the
    prior patch, and it's not clear how to fix them in the same way without
    breaking inheritance cases.  So the prudent path seems to be to narrow
    the scope of the optimization.
    e35e6b1c
setrefs.c 40 KB