Re: Cross database foreign keys

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: Morgan Curley <mcurley(at)e4media(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Cross database foreign keys
Date: 2001-07-06 14:36:10
Message-ID: web-81678@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice pgsql-sql

Morgan,

> Does anyone know if it is possible to connect to a differernt db from
> within a plsql function.
> I have multilple inter-related schemas and want to enforce some fk
> relationships.

Currently Postgres does not support any SQL operations between
databases. It may someday in the future, but then again it may not
(it's a design philosophy issue, I believe).

I don't know of *any* RDBMS that allows foriegn keys between databases!
If referential integrity is your goal, why on earth is the related data
in two different databases?

-Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

Attachment Content-Type Size
unknown_filename text/plain 2 bytes
unknown_filename text/plain 2 bytes
unknown_filename text/plain 2 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Spiros Ioannou 2001-07-06 14:55:48 postgres slower than grep?
Previous Message Peter Eisentraut 2001-07-06 14:32:54 Re: [SQL] Cross database foreign keys

Browse pgsql-novice by date

  From Date Subject
Next Message Jan Wieck 2001-07-06 15:00:14 Re: Cross database foreign keys
Previous Message Peter Eisentraut 2001-07-06 14:32:54 Re: [SQL] Cross database foreign keys

Browse pgsql-sql by date

  From Date Subject
Next Message Jan Wieck 2001-07-06 15:00:14 Re: Cross database foreign keys
Previous Message Peter Eisentraut 2001-07-06 14:32:54 Re: [SQL] Cross database foreign keys