diff options
author | Amit Kapila <akapila@postgresql.org> | 2022-08-16 14:51:42 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2022-08-16 14:51:42 +0530 |
commit | 02f8d68af256c34cfac774ae46b2d4a465d35276 (patch) | |
tree | 01e05166de6e336d226b637b0ee70ef0531c183a /src/backend/executor/nodeHashjoin.c | |
parent | a1a5e6d95cc9fabbd4e0209161662aa45220c4b1 (diff) | |
download | postgresql-02f8d68af256c34cfac774ae46b2d4a465d35276.tar.gz postgresql-02f8d68af256c34cfac774ae46b2d4a465d35276.zip |
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
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions