[COMMITTERS] pgsql: Don't permit transition tables with TRUNCATE triggers. - Mailing list pgsql-committers

From Robert Haas
Subject [COMMITTERS] pgsql: Don't permit transition tables with TRUNCATE triggers.
Date
Msg-id E1d8IGm-0004af-Vh@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Don't permit transition tables with TRUNCATE triggers.

Prior to this prohibition, such a trigger caused a crash.

Thomas Munro, per a report from Neha Sharma.  I added a
regression test.

Discussion: http://postgr.es/m/CAEepm=0VR5W-N38eTkO_FqJbGqQ_ykbBRmzmvHyxDhy1p=0Csw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/29fd3d9da0ff9e230ff051c1423871bd6eac377d

Modified Files
--------------
src/backend/commands/trigger.c        | 5 +++++
src/test/regress/expected/plpgsql.out | 8 ++++++++
src/test/regress/sql/plpgsql.sql      | 8 ++++++++
3 files changed, 21 insertions(+)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Pass EXEC_FLAG_REWIND when initializing a tuplestore scan.
Next
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Prohibit transition tables on views and foreign tables.