Reconsider mechanism for marking sub-selects that are at top level of
Tom Lane <tgl@sss.pgh.pa.us>
Reconsider mechanism for marking sub-selects that are at top level of a qualification clause (and hence can get away with being sloppy about distinguishing FALSE from UNKNOWN). We need to know this in subselect.c; marking the subplans in setrefs.c is too late.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/plan/planner.c | modified | +2 −2 |
| src/backend/optimizer/plan/setrefs.c | modified | +1 −38 |
| src/backend/optimizer/plan/subselect.c | modified | +30 −12 |
| src/include/optimizer/subselect.h | modified | +1 −1 |