Re: Referential integrity problem postgresql 7.2 ?

From: Billy O'Connor <billy(at)oconnoronline(dot)net>
To: sszabo(at)megazone23(dot)bigpanda(dot)com
Cc: srb(at)cuci(dot)nl, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Referential integrity problem postgresql 7.2 ?
Date: 2002-06-11 17:41:40
Message-ID: 20020611174140.803A318@dps7.oconnoronline.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

>From billy Tue Jun 11 13:38:51 2002
Date: Tue, 11 Jun 2002 10:54:27 -0700 (PDT)
From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Sender: pgsql-bugs-owner(at)postgresql(dot)org

On Mon, 10 Jun 2002, Stephen R. van den Berg wrote:

> Should the following piece of code cause an:
> ERROR: <unnamed> referential integrity violation - key referenced
> from b not found in a
> Or should it work because the check is deferred and in the
> end no violations are present?

It should work (and does in current sources). If you look in the archives
you should be able to get info on how to patch 7.2 (it came up recently,
I'm not sure which list, and Tom Lane sent the message in question).

I've verified that it does work in the current CVS checkout.

--
Billy O'Connor

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Stephan Szabo 2002-06-11 17:51:07 Re: referential integrity error
Previous Message Tom Lane 2002-06-11 17:15:21 Re: Bug #689: Bug at moving cursor on joined tables

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2002-06-11 17:54:27 Re: Referential integrity problem postgresql 7.2 ?
Previous Message Thomas Lockhart 2002-06-11 17:16:42 Re: New string functions; initdb required