]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Correct error message for row-level triggers with transition tables on partitioned...
authorEtsuro Fujita <efujita@postgresql.org>
Fri, 4 Nov 2022 10:15:06 +0000 (19:15 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Fri, 4 Nov 2022 10:15:06 +0000 (19:15 +0900)
commit572695bcbcbd887fbf45653138e960831dd71db1
tree8813e596dbd290788784ce04e4d6fbd13c6e53a1
parentab70b3a52fde6f0519fc74f1aae1d7ad88cb16dd
Correct error message for row-level triggers with transition tables on partitioned tables.

"Triggers on partitioned tables cannot have transition tables." is
incorrect as we allow statement-level triggers on partitioned tables to
have transition tables.

This has been wrong since commit 86f575948; back-patch to v11 where that
commit came in.

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/CAPmGK17gk4vXLzz2iG%2BG4LWRWCoVyam70nZ3OuGm1hMJwDrhcg%40mail.gmail.com
src/backend/commands/trigger.c
src/test/regress/expected/triggers.out