Re: TODO list comments - Mailing list pgsql-hackers

From Matt Miller
Subject Re: TODO list comments
Date
Msg-id 1124980149.3625.5.camel@dbamm01-linux
Whole thread Raw
In response to Re: TODO list comments  (Michael Glaesemann <grzm@myrealbox.com>)
Responses Re: TODO list comments
List pgsql-hackers
On Thu, 2005-08-25 at 15:50 +0900, Michael Glaesemann wrote:
> >> * %Remove CREATE CONSTRAINT TRIGGER
> >>
> > Do we really want to remove it,
> 
> Also, I believe CONSTRAINT TRIGGERS are the only way to provide  
> transaction level (rather than statement level) referential  
> integrity.

Don't deferrable foreign keys give you transaction-level referential
integrity?  From the SET CONSTRAINTS doc:

Synopsis
SET CONSTRAINTS { ALL | name [, ...] } { DEFERRED | IMMEDIATE }
Description
SET CONSTRAINTS sets the behavior of constraint checking within the
current transaction. IMMEDIATE constraints are checked at the end of
each statement. DEFERRED constraints are not checked until transaction
commit.




pgsql-hackers by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: TODO questions
Next
From: Alvaro Herrera
Date:
Subject: Re: TODO list comments