Is cycle references?

From: <limin(at)www(dot)pumpkinnet(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Is cycle references?
Date: 2000-11-01 19:57:02
Message-ID: Pine.LNX.4.10.10011011151070.5554-100000@www.pumpkinnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


The db schema we have need to do a cycle references. I.e.,
an attribute in table_1 references the key in table_2 and
an attribute in table_2 references the key in table_1. However,
PostgreSQL does not allow us to make reference to an "non-existing" table!
If we create a fake table_2 first, then create table_1, drop table_2,
create the "real" table_2, we will lost the reference constraint during
droping the "fake" table_2.

Is there any work-around on this issue?

We appreicate your hints.

Limin
pumpkin networks

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nick Fankhauser 2000-11-01 19:58:16 RE: Sample Program
Previous Message Adam Lang 2000-11-01 19:53:12 Re: Sample Program