pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Sandeep Gaikwad <sgaikwad@vertex.co.in>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [SQL] Foreign Key relationship between two databases
Date: Thu, 27 Jan 2005 05:35:40 -0800 (PST)
Message-ID: <20050127053355.W68725@megazone.bigpanda.com> (raw)
In-Reply-To: <41F8E9F8.6080304@vertex.co.in>
References: <41F8E9F8.6080304@vertex.co.in>

On Thu, 27 Jan 2005, Sandeep Gaikwad wrote:

> 	I can give foreign key relationship between two tables of same
> database. Can I give foreign key relationship between tables of two
> databases ? Plz, let me know if possible & send me how can I do that?

Unfortunately, that's not really currently possible.  You might be able to
fake some portion of it with custom triggers using dblink but I don't
think the locking would entirely work.



view thread (3+ messages)  latest in thread

Message-ID: <20050127053355.W68725@megazone.bigpanda.com>
Permalink:  ../20050127053355.W68725@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20050127053355.W68725@megazone.bigpanda.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: sszabo@megazone.bigpanda.com, sgaikwad@vertex.co.in, pgsql-general@postgresql.org
  Subject: Re: [SQL] Foreign Key relationship between two databases
  In-Reply-To: <20050127053355.W68725@megazone.bigpanda.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