pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Correct error message for row-level triggers with transition tab
6+ messages / 1 participants
[nested] [flat]

* pgsql: Correct error message for row-level triggers with transition tab
@ 2022-11-04 10:31 Etsuro Fujita <efujita@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Etsuro Fujita @ 2022-11-04 10:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8c7146790811ac4eee23fab2226db14b636e1ac5

Modified Files
--------------
src/backend/commands/trigger.c         | 2 +-
src/test/regress/expected/triggers.out | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Correct error message for row-level triggers with transition tab
@ 2022-11-04 10:31 Etsuro Fujita <efujita@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Etsuro Fujita @ 2022-11-04 10:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/81173264440d7d3bd6479313b1d4611a2bfe8031

Modified Files
--------------
src/backend/commands/trigger.c         | 2 +-
src/test/regress/expected/triggers.out | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Correct error message for row-level triggers with transition tab
@ 2022-11-04 10:31 Etsuro Fujita <efujita@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Etsuro Fujita @ 2022-11-04 10:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1699125ca218d4a035b794eef7c7b8872d10f527

Modified Files
--------------
src/backend/commands/trigger.c         | 2 +-
src/test/regress/expected/triggers.out | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Correct error message for row-level triggers with transition tab
@ 2022-11-04 10:31 Etsuro Fujita <efujita@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Etsuro Fujita @ 2022-11-04 10:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/26c1cab4c9fafd5cf7c39d42790d3ca9a3e4688a

Modified Files
--------------
src/backend/commands/trigger.c         | 2 +-
src/test/regress/expected/triggers.out | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Correct error message for row-level triggers with transition tab
@ 2022-11-04 10:31 Etsuro Fujita <efujita@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Etsuro Fujita @ 2022-11-04 10:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/572695bcbcbd887fbf45653138e960831dd71db1

Modified Files
--------------
src/backend/commands/trigger.c         | 2 +-
src/test/regress/expected/triggers.out | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Correct error message for row-level triggers with transition tab
@ 2022-11-04 10:31 Etsuro Fujita <efujita@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Etsuro Fujita @ 2022-11-04 10:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6f47756d6fa87c1bb155c4a04752d3837620da0c

Modified Files
--------------
src/backend/commands/trigger.c         | 2 +-
src/test/regress/expected/triggers.out | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2022-11-04 10:31 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-11-04 10:31 pgsql: Correct error message for row-level triggers with transition tab Etsuro Fujita <efujita@postgresql.org>
2022-11-04 10:31 pgsql: Correct error message for row-level triggers with transition tab Etsuro Fujita <efujita@postgresql.org>
2022-11-04 10:31 pgsql: Correct error message for row-level triggers with transition tab Etsuro Fujita <efujita@postgresql.org>
2022-11-04 10:31 pgsql: Correct error message for row-level triggers with transition tab Etsuro Fujita <efujita@postgresql.org>
2022-11-04 10:31 pgsql: Correct error message for row-level triggers with transition tab Etsuro Fujita <efujita@postgresql.org>
2022-11-04 10:31 pgsql: Correct error message for row-level triggers with transition tab Etsuro Fujita <efujita@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox