Re: Begin/Commit

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marc Spitzer <marc(at)oscar(dot)eng(dot)cv(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Begin/Commit
Date: 2001-12-29 03:54:28
Message-ID: 16729.1009598068@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Marc Spitzer <marc(at)oscar(dot)eng(dot)cv(dot)net> writes:
> Would one of these conditions include deleting a row where there is
> a field that is used as a foreign-key in another table?

[ thinks ... ] Yes, I think so. The cases I'm familiar with involve
inserts and updates, but probably a delete on the referenced table would
fire triggers as well. With enough pending triggers, 7.0 and 7.1 will
get slow. See discussions of 'triggered data change violation' error
in the archives.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Marc Spitzer 2001-12-29 04:05:25 Re: Begin/Commit
Previous Message Marc Spitzer 2001-12-29 01:47:17 Re: Begin/Commit