git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f4c32cd) | patch
Fix replica identity check for a partitioned table.
2022年8月16日 09:55:41 +0000 (15:25 +0530)
2022年8月16日 09:55:41 +0000 (15:25 +0530)
commit 0d5bd3a6cc3e4cd2fb44e2714e52a684cc7bbc25
Fix replica identity check for a partitioned table.

The current publisher code checks if UPDATE or DELETE can be executed with
the replica identity of the table even if it's a partitioned table. We can
skip checking the replica identity for partitioned tables because the
operations are actually performed on the leaf partitions (not the
partitioned table).

Reported-by: Brad Nicholson
Author: Hou Zhijie
Reviewed-by: Peter Smith, Amit Kapila
Backpatch-through: 13
Discussion: https://postgr.es/m/CAMMnM%3D8i5DohH%3DYKzV0_wYuYSYvuOJoL9F5nzXTc%2ByzsG1f6rg%40mail.gmail.com
src/backend/executor/execReplication.c diff | blob | blame | history
src/test/regress/expected/publication.out diff | blob | blame | history
src/test/regress/sql/publication.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /