From: JanWieck@t-online.de
To: Kyle Bateman <kyle@actarg.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Deferral of primary key constraint
Date: Fri, 2 Jun 2000 21:14:56 +0200 (MEST)
Message-ID: <200006021914.VAA07464@hot.jw.home> (raw)
In-Reply-To: <3937D411.7B47A641@actarg.com>
Kyle Bateman wrote:
> Is it possible to defer the check on a primary key constraint (or a
> check constraint, for that matter). Here is an example that shows why
> it would be nice to be able to do so. We have a real-life scenario that
> is similar (but much more complex).
Not yet. Only the trigger based foreign key checks are
deferrable in 7.0. We discovered the need for deferrability
of UNIQUE (what is what you want from the PK things) and
other checks. Not sure up to now how we could do it, but a
known problem.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: JanWieck@t-online.de, kyle@actarg.com
Subject: Re: Deferral of primary key constraint
In-Reply-To: <200006021914.VAA07464@hot.jw.home>
References: <3937D411.7B47A641@actarg.com> <200006021914.VAA07464@hot.jw.home>
* 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