Re: When are trigger function results committed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: KeithW(at)narrowpathinc(dot)com
Cc: "PostgreSQL Novice" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: When are trigger function results committed
Date: 2005-03-09 15:25:25
Message-ID: 23934.1110381925@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Keith Worthington" <keithw(at)narrowpathinc(dot)com> writes:
> I have a table with three trigger functions on it. After insert the first
> (defined alphabetically) trigger fires and performs its task. Then the second
> and finally the third triggers fire. It does not appear that the second
> trigger can see the results of the third trigger and the third cannot see the
> results of the forth trigger. Is this the expected behavior? If so can
> anyone suggest how I can make the functions see the previous results?

Define "see" --- what did you try to do *exactly*? And which PG version
is this?

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message John DeSoi 2005-03-09 15:26:26 Re: QT3 Designer Pgadmin III and PgAccess Cannot connect to PostgreSQL 7.4 database
Previous Message Bruno Wolff III 2005-03-09 15:21:00 Re: Foreign key error, please help.