pgsql: Fix order of shutdown processing when CTEs contain inter-referen

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix order of shutdown processing when CTEs contain inter-referen
Дата
Msg-id E1PtCAR-0004Wa-JN@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix order of shutdown processing when CTEs contain inter-references.

We need ExecutorEnd to run the ModifyTable nodes to completion in
reverse order of initialization, not forward order.  Easily done
by constructing the list back-to-front.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/000128bc7f591025d0c1ce539bb53c6ad00ab69c

Modified Files
--------------
src/backend/executor/nodeModifyTable.c |    9 +++-
src/test/regress/expected/with.out     |   76 ++++++++++++++++++++++++++++++++
src/test/regress/sql/with.sql          |   26 +++++++++++
3 files changed, 108 insertions(+), 3 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Support data-modifying commands (INSERT/UPDATE/DELETE) in WITH.
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Document pg_options_to_table() (not previously documented)