From: Dawid Kuroczko <qnex42@gmail.com>
To: Sandeep Gaikwad <sgaikwad@vertex.co.in>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: Foreign Key relationship between two databases
Date: Thu, 27 Jan 2005 15:04:25 +0100
Message-ID: <758d5e7f050127060446c4bdb5@mail.gmail.com> (raw)
In-Reply-To: <41F8E9F8.6080304@vertex.co.in>
References: <41F8E9F8.6080304@vertex.co.in>
On Thu, 27 Jan 2005 18:47:44 +0530, Sandeep Gaikwad
<sgaikwad@vertex.co.in> wrote:
> Hi,
> I am using postgres 7.3.4. I am new to postgres.
> 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?
Well... what you can do is replicate such table between two pg databases
using Slony-I and then use foreign key on this replicated table.
Regards,
Dawid
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: qnex42@gmail.com, sgaikwad@vertex.co.in, pgsql-general@postgresql.org
Subject: Re: Foreign Key relationship between two databases
In-Reply-To: <758d5e7f050127060446c4bdb5@mail.gmail.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