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

Re: Combination of Triggers and self-FKs produces inconsistent data

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Combination of Triggers and self-FKs produces inconsistent data
Date: 2009-01-29 00:00:22
Message-ID: 5696.1233187222@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Summary: self-referential FKs are not enforced properly in the
> 	presence of BEFORE triggers

This isn't a bug.  If you create triggers that prevent the RI actions
from being taken, it's your own problem.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Josh BerkusDate: 2009-01-29 00:04:15
Subject: Re: Combination of Triggers and self-FKs produces inconsistent data
Previous:From: Josh BerkusDate: 2009-01-28 20:55:05
Subject: Combination of Triggers and self-FKs produces inconsistent data

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