Merge parser's p_relnamespace and p_varnamespace lists into a single list. Now that we are storing structs in these lists, the distinction between the two lists can be represented with a couple of extra flags while using only a single list. This simplifies the code and should save a little bit of palloc traffic, since the majority of RTEs are represented in both lists anyway.
Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/f630157496a70f8ece4fd4c27eeead88c74b9015 Modified Files -------------- src/backend/parser/analyze.c | 37 +++----- src/backend/parser/parse_clause.c | 178 +++++++++++++++++++---------------- src/backend/parser/parse_relation.c | 38 +++++--- src/backend/parser/parse_target.c | 40 +++++--- src/include/parser/parse_node.h | 51 +++++++--- 5 files changed, 200 insertions(+), 144 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
