Fix GetCTEForRTE() to deal with the possibility that the RTE it's given came
Tom Lane <tgl@sss.pgh.pa.us>
Fix GetCTEForRTE() to deal with the possibility that the RTE it's given came from a query level above the current ParseState.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/analyze.c | modified | +3 −3 |
| src/backend/parser/parse_relation.c | modified | +11 −3 |
| src/backend/parser/parse_target.c | modified | +6 −4 |
| src/include/parser/parse_relation.h | modified | +3 −2 |