From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Olivier Hubaut <olivier@scmbb.ulb.ac.be>
Cc: PgSQL SQL <pgsql-sql@postgresql.org>
Subject: Re: Is it possible to set a NOT NULL constraint deferrable?
Date: Sat, 6 Dec 2003 18:54:27 -0500 (EST)
Message-ID: <200312062354.hB6NsRi08699@candle.pha.pa.us> (raw)
In-Reply-To: <3FD0A87B.4010803@scmbb.ulb.ac.be>
Olivier Hubaut wrote:
> I can put all the other constaints deferrable, but the *NOT NULL* one
> seems to be undeferrable.
>
> Is ther a way to by-pass this or is do you know if this is planned in
> the future versions?
Only foreign key constraints are deferrable. Many want UNIQUE to be
deferrable, but you are the first to ask for NOT NULL.
Not sure when this will be done. Sorry.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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: pgman@candle.pha.pa.us, olivier@scmbb.ulb.ac.be
Subject: Re: Is it possible to set a NOT NULL constraint deferrable?
In-Reply-To: <200312062354.hB6NsRi08699@candle.pha.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