Change expandRTE() and ResolveNew() back to taking just the single
Tom Lane <tgl@sss.pgh.pa.us>
Change expandRTE() and ResolveNew() back to taking just the single RTE of interest, rather than the whole rangetable list. This makes the API more understandable and avoids duplicate RTE lookups. This patch reverts no-longer-needed portions of my patch of 2004-08-19.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/path/allpaths.c | modified | +12 −12 |
| src/backend/optimizer/prep/prepjointree.c | modified | +13 −13 |
| src/backend/optimizer/util/plancat.c | modified | +2 −2 |
| src/backend/parser/parse_clause.c | modified | +5 −3 |
| src/backend/parser/parse_coerce.c | modified | +5 −4 |
| src/backend/parser/parse_relation.c | modified | +13 −28 |
| src/backend/parser/parse_target.c | modified | +5 −8 |
| src/backend/rewrite/rewriteHandler.c | modified | +23 −9 |
| src/backend/rewrite/rewriteManip.c | modified | +9 −9 |
| src/include/parser/parse_relation.h | modified | +3 −4 |
| src/include/rewrite/rewriteManip.h | modified | +2 −2 |