Fix GetCTEForRTE() to deal with the possibility that the RTE it's given came
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Oct 2008 15:15:22 +0000 (15:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Oct 2008 15:15:22 +0000 (15:15 +0000)
commitbb18feef1034e76e9a94822a1d3ea1974808dbc3
treece28989bd64872bd6e151ad744df45ac8dee8d33
parent55664c86abe11b86e7d163f1964cde5541d9e5fa
Fix GetCTEForRTE() to deal with the possibility that the RTE it's given came
from a query level above the current ParseState.
src/backend/parser/analyze.c
src/backend/parser/parse_relation.c
src/backend/parser/parse_target.c
src/include/parser/parse_relation.h