pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stan van de Mortel <SvdMortel@InterPlein.nl>
To: pgsql-sql@postgresql.org
Subject: Foreign Key between different databases
Date: Tue, 10 Apr 2001 10:53:13 +0200
Message-ID: <000001c0c19b$af7b5100$5102a8c0@stanlp> (raw)

Hello,

I've a table in a database and I want to create a column that is a foreign
key to a table in an other database. When I try ...,foreign key (x)
references otherdb.table(x) it says 'parse error at or near "."'.

Is there an other way to create this kind of foreign key?

Stan van de Mortel
[SvdMortel@InterPlein.nl]




view thread (2+ messages)  latest in thread

Message-ID: <000001c0c19b$af7b5100$5102a8c0@stanlp>
Permalink:  ../000001c0c19b$af7b5100$5102a8c0@stanlp/
Also on:    postgresql.org/message-id/000001c0c19b$af7b5100$5102a8c0@stanlp

 · 

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: SvdMortel@InterPlein.nl
  Subject: Re: Foreign Key between different databases
  In-Reply-To: <000001c0c19b$af7b5100$5102a8c0@stanlp>
  References: <000001c0c19b$af7b5100$5102a8c0@stanlp>

* 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