postgresql/src
Amit Kapila 0d5bd3a6cc 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
2022-08-16 15:25:41 +05:30
..
backend Fix replica identity check for a partitioned table. 2022-08-16 15:25:41 +05:30
bin Improve tab completion of ALTER TYPE in psql 2022-08-15 14:08:59 +09:00
common Remove HAVE_UNIX_SOCKETS. 2022-08-14 08:46:53 +12:00
fe_utils Remove configure probe for sys/select.h. 2022-08-14 00:09:47 +12:00
include Remove configure probe for gethostbyname_r. 2022-08-14 09:57:48 +12:00
interfaces Add missing bad-PGconn guards in libpq entry points. 2022-08-15 15:40:07 -04:00
makefiles solaris: Remove unnecessary gcc / gnu ld vs sun studio differences 2022-08-07 09:36:01 -07:00
pl Add PGDLLEXPORTS to some plpgsql function declarations 2022-07-20 10:24:50 +02:00
port Remove replacement code for getaddrinfo. 2022-08-14 09:53:28 +12:00
template aix: Remove checks for very old OS versions 2022-08-07 09:36:01 -07:00
test Fix replica identity check for a partitioned table. 2022-08-16 15:25:41 +05:30
timezone Remove fallbacks for strtoll, strtoull. 2022-08-06 09:59:51 +12:00
tools Fix headerscheck and cpluspluscheck's exit codes. 2022-08-16 10:53:29 +12:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in windows: Remove HAVE_MINIDUMP_TYPE test 2022-08-07 09:36:01 -07:00
Makefile.shlib solaris: Remove unnecessary gcc / gnu ld vs sun studio differences 2022-08-07 09:36:01 -07:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00