Re: TRIGGER with WHEN clause - Mailing list pgsql-hackers

From Tom Lane
Subject Re: TRIGGER with WHEN clause
Date
Msg-id 7935.1258749705@sss.pgh.pa.us
Whole thread Raw
In response to Re: TRIGGER with WHEN clause  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: TRIGGER with WHEN clause
List pgsql-hackers
Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> [ TRIGGER WHEN patch ]

Applied with assorted revisions.  AFAICT the system column issue is only
a problem for NEW references in BEFORE triggers --- those columns do
read correctly in OLD, and all the time in AFTER triggers.  I revised
the parsing logic to enforce that.  The patch also missed establishing
dependencies for stuff referenced in the WHEN expression, and there were
a few other minor problems.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [COMMITTERS] pgsql: /home/peter/commit-msg
Next
From: Tom Lane
Date:
Subject: Re: Prettification versus dump safety