From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Propagate trigger arguments to partitions
Date: Tue, 09 Jul 2019 21:23:45 +0000
Message-ID: <E1hkxaT-0000ow-0D@gemulon.postgresql.org> (raw)
Propagate trigger arguments to partitions
We were creating the cloned triggers with an empty list of arguments,
losing the ones that had been specified by the user when creating the
trigger in the partitioned table. Repair.
This was forgotten in commit 86f575948c77.
Author: Patrick McHardy
Reviewed-by: Tomas Vondra
Discussion: https://postgr.es/m/20190709130027.amr2cavjvo7rdvac@access1.trash.net
Discussion: https://postgr.es/m/15752-123bc90287986de4@postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2c84ea6cf994f5853de0f03600aa5df8156cf9f4
Modified Files
--------------
src/backend/commands/tablecmds.c | 23 ++++++++++++++++++++++-
src/backend/commands/trigger.c | 1 -
src/test/regress/expected/triggers.out | 24 ++++++++++++++++++++++++
src/test/regress/sql/triggers.sql | 23 +++++++++++++++++++++++
4 files changed, 69 insertions(+), 2 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: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Propagate trigger arguments to partitions
In-Reply-To: <E1hkxaT-0000ow-0D@gemulon.postgresql.org>
References: <E1hkxaT-0000ow-0D@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