Fix GetCTEForRTE() to deal with the possibility that the RTE it's given came

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e64bb65aff3f53b4f56b4a1ee549930b568cec99
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-10-06T15:15:22Z
Releases: 8.4.0
Fix GetCTEForRTE() to deal with the possibility that the RTE it's given came
from a query level above the current ParseState.

Files