pgsql: Include the target table in EXPLAIN output for ModifyTable nodes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Include the target table in EXPLAIN output for ModifyTable nodes
Дата
Msg-id E1PuSZX-0006Ks-Oa@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Include the target table in EXPLAIN output for ModifyTable nodes.

Per discussion, this seems important for plans involving writable CTEs,
since there can now be more than one ModifyTable node in the plan.

To retain the same formatting as for target tables of scan nodes, we
show only one target table, which will be the parent table in case of
an UPDATE or DELETE on an inheritance tree.  Individual child tables
can be determined by inspecting the child plan trees if needed.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/97c4ee94adf15f7a0a39cbb5549159e2aa0679d1

Modified Files
--------------
src/backend/commands/explain.c |   37 ++++++++++++++++++++++++++++++++++---
1 files changed, 34 insertions(+), 3 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Update discussion of EXPLAIN to reflect existence of ModifyTable
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Dump the COLLATABLE attribute in CREATE TYPE