From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Feed ObjectAddress to event triggers for ALTER TABLE ATTACH/DETA
Date: Sun, 31 Jul 2022 04:05:39 +0000
Message-ID: <E1oI0Cw-0021c9-HU@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Feed ObjectAddress to event triggers for ALTER TABLE ATTACH/DETA
In-Reply-To: <E1oI0Cw-0021c9-HU@gemulon.postgresql.org>
References: <E1oI0Cw-0021c9-HU@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox