Don't permit transition tables with TRUNCATE triggers.
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/trigger.c | modified | +5 −0 |
| src/test/regress/expected/plpgsql.out | modified | +8 −0 |
| src/test/regress/sql/plpgsql.sql | modified | +8 −0 |
Discussion
- delta relations in AFTER triggers 151 messages · 2014-06-14 → 2017-05-10