pgsql: Feed ObjectAddress to event triggers for ALTER TABLE ATTACH/DETA - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Feed ObjectAddress to event triggers for ALTER TABLE ATTACH/DETA
Date
Msg-id E1oI0Cw-0021c9-HU@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Feed ObjectAddress to event triggers for ALTER TABLE ATTACH/DETACH

These flavors of ALTER TABLE were already shaped to report the
ObjectAddress of the partition attached or detached, but this data was
not added to what is collected for event triggers.  The tests of
test_ddl_deparse are updated to show the modification in the data
reported.

Author: Hou Zhijie
Reviewed-by: Álvaro Herrera, Amit Kapila, Hayato Kuroda, Michael Paquier
Discussion: https://postgr.es/m/OS0PR01MB571626984BD099DADF53F38394899@OS0PR01MB5716.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/43231423dafc0cedcb52169465589b0d1d3c47d2

Modified Files
--------------
src/backend/commands/tablecmds.c                         | 16 ++++++++--------
.../modules/test_ddl_deparse/expected/alter_table.out    |  4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Expand tests of test_ddl_deparse/ for ALTER TABLE
Next
From: Tom Lane
Date:
Subject: pgsql: Make new auto_explain test safe for log_error_verbosity = verbos