pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marc Spitzer <marc@oscar.eng.cv.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Begin/Commit
Date: Fri, 28 Dec 2001 22:54:28 -0500
Message-ID: <16729.1009598068@sss.pgh.pa.us> (raw)
In-Reply-To: <20011228204717.A15342@oscar.eng.cv.net>
References: <20011228222730.555C0197395@jamie.edmonton.computalog.com>
	<16091.1009585573@sss.pgh.pa.us>
	<20011228204717.A15342@oscar.eng.cv.net>

Marc Spitzer <marc@oscar.eng.cv.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



view thread (7+ messages)  latest in thread

Message-ID: <16729.1009598068@sss.pgh.pa.us>
Permalink:  ../16729.1009598068@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16729.1009598068@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, marc@oscar.eng.cv.net
  Subject: Re: Begin/Commit
  In-Reply-To: <16729.1009598068@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox