pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martijn van Oosterhout <kleptog@svana.org>
To: Chris Czeyka <czeyka@skwea.co.jp>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: two tables - foreign keys referring to each other...
Date: Wed, 21 Feb 2001 15:00:54 +1100
Message-ID: <20010221150054.B31213@chiru.svana.org> (raw)
In-Reply-To: <3A93366B.DC0B83F4@skwea.co.jp>
References: <3A93366B.DC0B83F4@skwea.co.jp>

On Wed, Feb 21, 2001 at 12:30:51PM +0900, Chris Czeyka wrote:

[big snip]

> of course I get the ERROR, that admin_t doesn't exist. So? help the stupid!
> pls!

I think the general idea is to create the tables first without the
constraints and then do ALTER TABLE ADD CONSTRAINT afterwards.

HTH,

Martijn



view thread (8+ messages)  latest in thread

Message-ID: <20010221150054.B31213@chiru.svana.org>
Permalink:  ../20010221150054.B31213@chiru.svana.org/
Also on:    postgresql.org/message-id/20010221150054.B31213@chiru.svana.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: kleptog@svana.org, czeyka@skwea.co.jp, pgsql-general@postgresql.org
  Subject: Re: two tables - foreign keys referring to each other...
  In-Reply-To: <20010221150054.B31213@chiru.svana.org>
  References: <3A93366B.DC0B83F4@skwea.co.jp> <20010221150054.B31213@chiru.svana.org>

* 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