Re: Are circular REFERENCES possible ?

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: PostgreSQL SQL <pgsql-sql(at)PostgreSQL(dot)org>
Subject: Re: Are circular REFERENCES possible ?
Date: 2001-08-07 19:16:36
Message-ID: 200108071916.f77JGan02607@jupiter.us.greatbridge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tom Lane wrote:
> Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
> > The point is that we based our implementation of foreign keys
> > on the SQL3 specs. DEFERRED is not in SQL-92 AFAIK.
>
> I still have a concern about this --- sure, you can set up the circular
> references using ALTER TABLE, but will pg_dump dump them correctly?

AFAIK yes.

I'm not sure if it still uses the CONSTRAINT TRIGGER syntax
or does it now with ALTER TABLE. But for sure it creates all
tables first, then loads the data, then activates the
constraints (wouldn't work very well otherwise).

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 #

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Browse pgsql-sql by date

  From Date Subject
Next Message Martín Marqués 2001-08-07 21:49:44 Re: views and null bothering
Previous Message Jan Wieck 2001-08-07 18:51:21 Re: Are circular REFERENCES possible ?