Re: Are circular REFERENCES possible ? - Mailing list pgsql-sql

From Jan Wieck
Subject Re: Are circular REFERENCES possible ?
Date
Msg-id 200108071916.f77JGan02607@jupiter.us.greatbridge.com
Whole thread Raw
In response to Are circular REFERENCES possible ?  (Denis Bucher <dbucher@niftycom.com>)
List pgsql-sql
Tom Lane wrote:
> Jan Wieck <JanWieck@Yahoo.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@Yahoo.com #


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



pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Name Alike Challenge
Next
From: Tom Lane
Date:
Subject: Re: Are circular REFERENCES possible ?