git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 91c5a8c) | patch
Add p_names field to ParseNamespaceItem
2021年3月31日 08:52:37 +0000 (10:52 +0200)
2021年3月31日 08:52:37 +0000 (10:52 +0200)
commit 66392d396508c91c2ec07a61568bf96acb663ad8
Add p_names field to ParseNamespaceItem

ParseNamespaceItem had a wired-in assumption that p_rte->eref
describes the table and column aliases exposed by the nsitem. This
relaxes this by creating a separate p_names field in an nsitem. This
is mainly preparation for a patch for JOIN USING aliases, but it saves
one indirection in common code paths, so it's possibly a win on its
own.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/785329.1616455091@sss.pgh.pa.us
src/backend/parser/parse_clause.c diff | blob | blame | history
src/backend/parser/parse_relation.c diff | blob | blame | history
src/include/parser/parse_node.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /