Re: Deferral of primary key constraint

From: JanWieck(at)t-online(dot)de (Jan Wieck)
To: Kyle Bateman <kyle(at)actarg(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Deferral of primary key constraint
Date: 2000-06-02 19:14:56
Message-ID: 200006021914.VAA07464@hot.jw.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)Yahoo(dot)com #

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Jan Wieck 2000-06-02 20:58:23 Re: Benchmark
Previous Message Nikolaj Lundsgaard 2000-06-02 18:35:29 Benchmark