From: Michael Paquier <michael@paquier.xyz>
To: mahendra@datam.co.uk
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases
Date: Thu, 15 Feb 2018 16:43:14 +0900
Message-ID: <20180215074314.GA25356@paquier.xyz> (raw)
In-Reply-To: <151867896347.1459.12853955657074470296@wrigleys.postgresql.org>
References: <151867896347.1459.12853955657074470296@wrigleys.postgresql.org>
On Thu, Feb 15, 2018 at 07:16:03AM +0000, PG Bug reporting form wrote:
> I try to create view using involve columns from multiple databases.
> then i have issue postgresql cross database reference are not implemented.
> how to resolve that issue
This is not supported as each backend session can only be connected to
one single database. Have you considered using different schema for
this purpose? This is an extra layer that PostgreSQL has which is
different than other RDBMs.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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-bugs@postgresql.org
Cc: michael@paquier.xyz, mahendra@datam.co.uk
Subject: Re: BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases
In-Reply-To: <20180215074314.GA25356@paquier.xyz>
References: <151867896347.1459.12853955657074470296@wrigleys.postgresql.org> <20180215074314.GA25356@paquier.xyz>
* 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