pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases
3+ messages / 3 participants
[nested] [flat]
* BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases
@ 2018-02-15 07:16 PG Bug reporting form <noreply@postgresql.org>
2018-02-15 07:43 ` Re: BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases Michael Paquier <michael@paquier.xyz>
2018-02-15 14:48 ` Re: BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases David G. Johnston <david.g.johnston@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: PG Bug reporting form @ 2018-02-15 07:16 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: mahendra@datam.co.uk
The following bug has been logged on the website:
Bug reference: 15068
Logged by: Mahendra Sri dayarathna
Email address: mahendra@datam.co.uk
PostgreSQL version: 9.4.0
Operating system: Windows
Description:
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases
2018-02-15 07:16 BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases PG Bug reporting form <noreply@postgresql.org>
@ 2018-02-15 07:43 ` Michael Paquier <michael@paquier.xyz>
1 sibling, 0 replies; 3+ messages in thread
From: Michael Paquier @ 2018-02-15 07:43 UTC (permalink / raw)
To: mahendra@datam.co.uk; pgsql-bugs@lists.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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases
2018-02-15 07:16 BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases PG Bug reporting form <noreply@postgresql.org>
@ 2018-02-15 14:48 ` David G. Johnston <david.g.johnston@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: David G. Johnston @ 2018-02-15 14:48 UTC (permalink / raw)
To: mahendra@datam.co.uk; pgsql-bugs@lists.postgresql.org
On Thu, Feb 15, 2018 at 12:16 AM, PG Bug reporting form <
noreply@postgresql.org> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 15068
> Logged by: Mahendra Sri dayarathna
> Email address: mahendra@datam.co.uk
> PostgreSQL version: 9.4.0
> Operating system: Windows
> Description:
>
> 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 a question better suited to the -general list as it is not a bug
report.
If you are indeed using 9.4.0 you need to upgrade to a supported release -
which is 9.4.16 at the time of this report.
In addition to Michael's suggestion of using schemas you might be able to
make use of postgres_fdw
https://www.postgresql.org/docs/10/static/postgres-fdw.html
Work on that area has been ongoing recently and if you go for that approach
you should probably strongly consider bumping up to version 9.6 or 10. 9.4
has a little over a year of support-life left in it anyway.
David J.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-02-15 14:48 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-02-15 07:16 BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases PG Bug reporting form <noreply@postgresql.org>
2018-02-15 07:43 ` Michael Paquier <michael@paquier.xyz>
2018-02-15 14:48 ` David G. Johnston <david.g.johnston@gmail.com>
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