pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Have logical replication subscriber fire column triggers
4+ messages / 1 participants
[nested] [flat]

* pgsql: Have logical replication subscriber fire column triggers
@ 2020-01-06 07:51  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2020-01-06 07:51 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b9c130a1fdf16cd99afb390c186d19acaea7d132

Modified Files
--------------
src/backend/replication/logical/worker.c   | 16 +++++++++++++++
src/test/subscription/t/003_constraints.pl | 32 ++++++++++++++++++++++++++----
2 files changed, 44 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Have logical replication subscriber fire column triggers
@ 2020-01-06 10:39  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2020-01-06 10:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7474393e0b98971c7779cbb23c2d7d17e38a944c

Modified Files
--------------
src/backend/replication/logical/worker.c   | 18 +++++++++++++++++
src/test/subscription/t/003_constraints.pl | 32 ++++++++++++++++++++++++++----
2 files changed, 46 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Have logical replication subscriber fire column triggers
@ 2020-01-06 10:39  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2020-01-06 10:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8c2bfd9f9b5da06a60ef7d46565bff2eaf5ceb2c

Modified Files
--------------
src/backend/replication/logical/worker.c   | 16 +++++++++++++++
src/test/subscription/t/003_constraints.pl | 32 ++++++++++++++++++++++++++----
2 files changed, 44 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Have logical replication subscriber fire column triggers
@ 2020-01-06 10:39  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2020-01-06 10:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/66fd0adc73a8d3b0c43423c7d263cba37edaa36b

Modified Files
--------------
src/backend/replication/logical/worker.c   | 18 ++++++++++++++++
src/test/subscription/t/003_constraints.pl | 34 ++++++++++++++++++++++++++----
2 files changed, 48 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2020-01-06 10:39 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-01-06 07:51 pgsql: Have logical replication subscriber fire column triggers Peter Eisentraut <peter@eisentraut.org>
2020-01-06 10:39 pgsql: Have logical replication subscriber fire column triggers Peter Eisentraut <peter@eisentraut.org>
2020-01-06 10:39 pgsql: Have logical replication subscriber fire column triggers Peter Eisentraut <peter@eisentraut.org>
2020-01-06 10:39 pgsql: Have logical replication subscriber fire column triggers Peter Eisentraut <peter@eisentraut.org>

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