pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan Wieck <JanWieck@Yahoo.com>
To: PostgreSQL SQL <pgsql-sql@PostgreSQL.org>
Subject: Re: Are circular REFERENCES possible ?
Date: Tue, 7 Aug 2001 15:16:36 -0400 (EDT)
Message-ID: <200108071916.f77JGan02607@jupiter.us.greatbridge.com> (raw)

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




view thread (15+ messages)  latest in thread

Message-ID: <200108071916.f77JGan02607@jupiter.us.greatbridge.com>
Permalink:  ../200108071916.f77JGan02607@jupiter.us.greatbridge.com/
Also on:    postgresql.org/message-id/200108071916.f77JGan02607@jupiter.us.greatbridge.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: JanWieck@Yahoo.com
  Subject: Re: Are circular REFERENCES possible ?
  In-Reply-To: <200108071916.f77JGan02607@jupiter.us.greatbridge.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