]> 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:08 +0000 (19:15 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Fri, 4 Nov 2022 10:15:08 +0000 (19:15 +0900)
commit6f47756d6fa87c1bb155c4a04752d3837620da0c
treeb9e3cf5f49fc3da580449ebb371cd13dcf390b25
parented019b5ef9553f928b43287e0b15d743d48267c9
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