Re: [HACKERS] delta relations in AFTER triggers - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] delta relations in AFTER triggers
Date
Msg-id CA+TgmoaeR9vbfSNU7SLGf4_1PTr6g7YvudGJPNSM5aB8OxPTxQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] delta relations in AFTER triggers  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
On Thu, May 4, 2017 at 4:23 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> We can't possibly support transition tables on TRUNCATE (the whole
> point of TRUNCATE is not to inspect all the rows so we can't collect
> them), and we already reject ROW triggers on TRUNCATE, so we should
> reject transition tables on STATEMENT triggers for TRUNCATE at
> creation time too.  See attached.  Thoughts?

Committed, with the addition of a regression test, the inclusion of
which in future bug fixes of this sort I recommend.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [HACKERS] Transition tables for triggers on foreign tables and views
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Transition tables for triggers on foreign tables and views