Re: Triggers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Triggers
Date: 2002-08-16 14:58:04
Message-ID: 7837.1029509884@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp> writes:
> Tom Lane wrote:
>>> I think we check constraints (including NOT NULL) before firing
>>> triggers.

> Seems like the trigger gets fired before the constraint checking.

A quick look in execMain.c demonstrates that you are correct. I am not
sure why I thought otherwise --- maybe it was different a few releases
back?

regards, tom lane

In response to

  • Re: Triggers at 2002-08-16 14:27:27 from Jean-Christian Imbeault

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2002-08-16 15:08:45 Re: Triggers
Previous Message Jean-Christian Imbeault 2002-08-16 14:36:12 Re: Triggers