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=0...@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(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to