Cross DB query

From: Marcos Pegoraro <marcos(at)f10(dot)com(dot)br>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Cross DB query
Date: 2021-12-08 18:09:42
Message-ID: CAB-JLwYOYRKAiZZg8JMCLsG1GZzQ_L3gHMaMrV1Bi2hZz1V9eQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

A question I always have, and I didn´t find anybody answering it. If it´s
possible
select * from MyDB.MySchema.MyTable;

And from user point of view ... all databases are accessible for the same
postgres instance, user just says connect to this or that database, why is
it not possible to do
select * from FirstDB.FirstSchema.FirstTable join SecondDB.SecondSchema.
SecondTable;

Everything I found was how to connect, using FDW or DBLink, but not why.

regards,
Marcos

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2021-12-08 18:11:46 Re: speed up verifying UTF-8
Previous Message Chapman Flack 2021-12-08 18:04:25 Re: Appetite for Frama-C annotations?