Propagate trigger arguments to partitions
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +22 −1 |
| src/backend/commands/trigger.c | modified | +0 −1 |
| src/test/regress/expected/triggers.out | modified | +24 −0 |
| src/test/regress/sql/triggers.sql | modified | +23 −0 |
Discussion
- [PATCH] Fix trigger argument propagation to child partitions 3 messages · 2019-07-09
- BUG #15752: Declarative partitions trigger with function attributes - empty attributes list on each partition 2 messages · 2019-04-14 → 2019-07-09