Re: Before/After trigger sequencing question - Mailing list pgsql-general

From Tom Lane
Subject Re: Before/After trigger sequencing question
Date
Msg-id 17051.1090989383@sss.pgh.pa.us
Whole thread Raw
In response to Before/After trigger sequencing question  (Mike Nolan <nolan@gw.tssi.com>)
Responses Re: Before/After trigger sequencing questiont
List pgsql-general
Mike Nolan <nolan@gw.tssi.com> writes:
> I have a before insert trigger that updates a value in another table.

> It appears that I cannot depend upon that update having taken place
> in an after insert trigger on the first table.  (The one with the insert.)

This seems a tad improbable, not to say impossible.  Concrete example,
please?

            regards, tom lane

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: altering a table to set serial function
Next
From: des@des.no (Dag-Erling Smørgrav)
Date:
Subject: tablename type?