Skip site navigation (1) Skip section navigation (2)

Re: Cascade updates wait until the end of the transaction?

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Thomas Berg <tomfuture(at)hotmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Cascade updates wait until the end of the transaction?
Date: 2004-11-16 06:52:22
Message-ID: 20041115224713.K53414@megazone.bigpanda.com (view raw or flat)
Thread:
Lists: pgsql-sql
On Fri, 12 Nov 2004, Thomas Berg wrote:

> Within a function (and therefore within a transaction), if I UPDATE the
> primary key of a table, the old value remains visible in the child table
> through the end of the function.  Is this

8.0 runs immediate triggers after each statement of a function and also
forces referential actions to be treated as immediate and as such should
change the behavior mentioned.


In response to

pgsql-sql by date

Next:From: Markus SchaberDate: 2004-11-16 09:02:34
Subject: Move table between schemas
Previous:From: carexDate: 2004-11-15 17:12:30
Subject: Re: select using regexp does not use indexscan

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group