From: | Gary Stainburn <gary(dot)stainburn(at)ringways(dot)co(dot)uk> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jan Wieck <JanWieck(at)yahoo(dot)com> |
Cc: | Josh Berkus <josh(at)agliodbs(dot)com>, Denis Bucher <dbucher(at)niftycom(dot)com>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Are circular REFERENCES possible ? |
Date: | 2001-08-08 08:43:28 |
Message-ID: | 01080809432802.23554@gary.ringways.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi all,
On Tuesday 07 August 2001 7:35 pm, 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?
Based on a small example I've done, I'd say yes. This is because pg_dump
doesn't specify the contraints when it creates the tables, it does it at the
end by using 'CREATE CONSTRAINT' commands.
I have a relationship Members -> teams -> regions -> members and it dumped
and restored fine.
Gary
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Joseph Krogh | 2001-08-08 12:57:13 | Referencing named attribute in where clause doesn't work with 7.1.2? |
Previous Message | heatherm | 2001-08-08 05:32:52 | deleting large objects from jdbc |