pgsql: Propagate trigger arguments to partitions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Propagate trigger arguments to partitions
Дата
Msg-id E1hkxaT-0000oz-0J@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Propagate trigger arguments to partitions  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-committers
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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1637d959d618886ac6ca59cc3c3785ce5ba06b40

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(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Message style improvements
Следующее
От: Thomas Munro
Дата:
Сообщение: pgsql: Pass QueryEnvironment down to EvalPlanQual's EState.