pgsql: Merge parser's p_relnamespace and p_varnamespace lists into a si

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Merge parser's p_relnamespace and p_varnamespace lists into a si
Дата
Msg-id E1SzD4m-0000bQ-Lt@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Fix minor bug in XLogFileRead() that accidentally worked.
Следующее
От: Simon Riggs
Дата:
Сообщение: pgsql: Doc correction to point out that 9.2+ can overwrite pg_xlog file