From: Stephan Szabo <acroyear_07030@yahoo.com>
To: Sudheer Palaparambil <p_sudheers@rediffmail.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: REFRENTIAL INTEGRITY CHECKING
Date: Mon, 16 Jul 2001 11:51:42 -0700 (PDT)
Message-ID: <20010716185143.15377.qmail@web14608.mail.yahoo.com> (raw)
In-Reply-To: <20010716171155.26546.qmail@mailFA5.rediffmail.com>
--- Sudheer Palaparambil <p_sudheers@rediffmail.com>
wrote:
> Hi,
>
> How do we avoid referential integrity (FOREIGN
> KEY) checking till commit. My pgsql server
> is checking it as soon as I am issueing an INSERT
> command. Pls help.
When you define the constraint, set it as INITIALLY
DEFERRED (or if you only sometimes want it to defer,
set it as DEFERRABLE and use SET CONSTRAINTS to change
the mode)
However, there are some problems with the deferred ri
right now if you modify the same key more than once in
a transaction -- I'm hoping to get a chance to fix
that for 7.2. For now, you have to be careful.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.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-admin@postgresql.org
Cc: acroyear_07030@yahoo.com, p_sudheers@rediffmail.com
Subject: Re: REFRENTIAL INTEGRITY CHECKING
In-Reply-To: <20010716185143.15377.qmail@web14608.mail.yahoo.com>
References: <20010716171155.26546.qmail@mailFA5.rediffmail.com> <20010716185143.15377.qmail@web14608.mail.yahoo.com>
* 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