OSDN Git Service

Replace the parser's namespace tree (which formerly had the same
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Jun 2005 00:38:11 +0000 (00:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Jun 2005 00:38:11 +0000 (00:38 +0000)
commita4996a895399a4b0363c7dace71fc6ce8acbc196
tree9fe26cb35badc6a7b0c86a9db1eaf2e7ca95b142
parentefe0d0808b055fb2f651dd3732bd770290eb2659
Replace the parser's namespace tree (which formerly had the same
representation as the jointree) with two lists of RTEs, one showing
the RTEs accessible by qualified names, and the other showing the RTEs
accessible by unqualified names.  I think this is conceptually simpler
than what we did before, and it's sure a whole lot easier to search.
This seems to eliminate the parse-time bottleneck for deeply nested
JOIN structures that was exhibited by phil@vodafone.
src/backend/catalog/heap.c
src/backend/commands/tablecmds.c
src/backend/parser/analyze.c
src/backend/parser/parse_clause.c
src/backend/parser/parse_relation.c
src/backend/parser/parse_target.c
src/backend/utils/adt/ruleutils.c
src/include/nodes/parsenodes.h
src/include/parser/parse_node.h
src/include/parser/parse_relation.h