postgresql/src/backend
Dean Rasheed 7b2ccc5e03 Fix rule-detection code for MERGE.
Use the relation's rd_rules structure to test whether it has rules,
rather than the relhasrules flag, which might be out of date.

Reviewed by Tom Lane.

Backpatch to 15, where MERGE was added.

Discussion: https://postgr.es/m/CAEZATCVkBVZABfw71sYvkcPf6tarcOFST5Bc6AOi-LFT9YdccQ%40mail.gmail.com
2022-11-25 13:31:48 +00:00
..
access Improve indenting in _hash_pgaddtup 2022-11-25 10:10:44 +13:00
backup Rename shadowed local variables 2022-10-05 21:01:41 +13:00
bootstrap Remove AssertArg and AssertState 2022-10-28 09:19:06 +02:00
catalog Replace SQLValueFunction by COERCE_SQL_SYNTAX 2022-11-21 18:31:59 +09:00
commands Introduce variables for initial and max nesting depth on configuration files 2022-11-25 07:40:12 +09:00
executor Fix handling of pending inserts in nodeModifyTable.c. 2022-11-25 17:45:00 +09:00
foreign Rename SetSingleFuncCall() to InitMaterializedSRF() 2022-10-18 10:22:35 +09:00
jit Replace SQLValueFunction by COERCE_SQL_SYNTAX 2022-11-21 18:31:59 +09:00
lib Add doubly linked count list implementation 2022-11-02 14:06:05 +13:00
libpq Introduce variables for initial and max nesting depth on configuration files 2022-11-25 07:40:12 +09:00
main Add workaround to make ubsan and ps_status.c compatible 2022-11-21 13:56:23 -08:00
nodes Expand AclMode to 64 bits 2022-11-23 14:43:16 -05:00
optimizer Replace SQLValueFunction by COERCE_SQL_SYNTAX 2022-11-21 18:31:59 +09:00
parser Fix rule-detection code for MERGE. 2022-11-25 13:31:48 +00:00
partitioning Resolve partition strategy during early parsing 2022-11-03 16:25:54 +01:00
po meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
port Provide sigaction() for Windows. 2022-11-09 13:06:31 +13:00
postmaster Add the database name to the ps display of logical WAL senders 2022-11-24 16:07:59 +09:00
regex Remove uses of register due to incompatibility with C++17 and up 2022-09-24 12:08:37 -07:00
replication Ignore invalidated slots while computing oldest catalog Xmin 2022-11-22 10:56:07 +01:00
rewrite Refactor ownercheck functions 2022-11-13 08:12:37 +01:00
snowball meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
statistics Rename shadowed local variables 2022-10-05 21:01:41 +13:00
storage Ignore invalidated slots while computing oldest catalog Xmin 2022-11-22 10:56:07 +01:00
tcop Refactor aclcheck functions 2022-11-13 09:02:41 +01:00
tsearch Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline. 2022-11-21 17:07:29 -05:00
utils Introduce variables for initial and max nesting depth on configuration files 2022-11-25 07:40:12 +09:00
.gitignore
Makefile Move gramparse.h to src/backend/parser 2022-09-14 10:57:13 +07:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
meson.build meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
nls.mk NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00