Enable BEFORE row-level triggers for partitioned tables
Alvaro Herrera <alvherre@alvh.no-ip.org>
Enable BEFORE row-level triggers for partitioned tables ... with the limitation that the tuple must remain in the same partition. Reviewed-by: Ashutosh Bapat Discussion: https://postgr.es/m/20200227165158.GA2071@alvherre.pgsql
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/create_trigger.sgml | modified | +1 −1 |
| doc/src/sgml/trigger.sgml | modified | +1 −2 |
| src/backend/commands/tablecmds.c | modified | +2 −1 |
| src/backend/commands/trigger.c | modified | +28 −12 |
| src/backend/partitioning/partdesc.c | modified | +1 −1 |
| src/include/utils/reltrigger.h | modified | +1 −0 |
| src/test/regress/expected/triggers.out | modified | +74 −4 |
| src/test/regress/sql/triggers.sql | modified | +53 −2 |
Documentation touched
Discussion
- BEFORE ROW triggers for partitioned tables 12 messages · 2020-02-27 → 2021-01-18