Re: special integrity constraints - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: special integrity constraints
Date
Msg-id 20040323003456.GA7733@wolff.to
Whole thread Raw
In response to Re: special integrity constraints  (Erik Thiele <erik@thiele-hydraulik.de>)
List pgsql-sql
On Mon, Mar 22, 2004 at 17:21:21 +0100,
  Erik Thiele <erik@thiele-hydraulik.de> wrote:
>
> there is no such thing as a deferred check constraint:
>
> DEFERRABLE
> NOT DEFERRABLE
>
> This controls whether the constraint can be deferred. A constraint that
> is not deferrable will be checked immediately after every command.
> Checking of constraints that are deferrable may be postponed until the
> end of the transaction (using the SET CONSTRAINTS command). NOT
> DEFERRABLE is the default.
>
> !!! Only foreign key constraints currently accept
> this clause. All other constraint types are not deferrable. !!!

Sorry, I checked the syntax for CREATE TABLE in the documentation and
it shows DEFERRABLE as allowed on any column constraint. However, that
is apparently not correct.

pgsql-sql by date:

Previous
From: Erik Thiele
Date:
Subject: Re: special integrity constraints
Next
From: "Gregory S. Williamson"
Date:
Subject: function definition documentation