Have logical replication subscriber fire column triggers
Peter Eisentraut <peter@eisentraut.org>
Have logical replication subscriber fire column triggers The logical replication apply worker did not fire per-column update triggers because the updatedCols bitmap in the RTE was not populated. This fixes that. Reviewed-by: Euler Taveira <euler@timbira.com.br> Discussion: https://www.postgresql.org/message-id/flat/21673e2d-597c-6afe-637e-e8b10425b240%402ndquadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/worker.c | modified | +16 −0 |
| src/test/subscription/t/003_constraints.pl | modified | +28 −4 |
Discussion
- logical replication does not fire per-column triggers 4 messages · 2019-12-13 → 2020-01-06