Re: Foreign Key relationship between two databases

From: Dawid Kuroczko <qnex42(at)gmail(dot)com>
To: Sandeep Gaikwad <sgaikwad(at)vertex(dot)co(dot)in>
Cc: pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Foreign Key relationship between two databases
Date: 2005-01-27 14:04:25
Message-ID: 758d5e7f050127060446c4bdb5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

On Thu, 27 Jan 2005 18:47:44 +0530, Sandeep Gaikwad
<sgaikwad(at)vertex(dot)co(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Beavan 2005-01-27 14:08:19 tsearch2 document and word limit
Previous Message Tatsuo Ishii 2005-01-27 14:02:00 An interesting pgpool benchmark result

Browse pgsql-sql by date

  From Date Subject
Next Message Joel Fradkin 2005-01-27 14:11:05 Re: same question little different test MSSQL vrs Postgres
Previous Message Wilton 2005-01-27 14:02:31 Re: Complete instruction in a trigger