pgsql: Fix replica identity check for a partitioned table.

2022-08-16 Thread Amit Kapila
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 pe

pgsql: Fix replica identity check for a partitioned table.

2022-08-16 Thread Amit Kapila
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 pe

pgsql: Fix replica identity check for a partitioned table.

2022-08-16 Thread Amit Kapila
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 pe

pgsql: Fix replica identity check for a partitioned table.

2022-08-16 Thread Amit Kapila
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 pe