Re: Suggestion for Easier Cross-Database Query Handling in PostgreSQL

Isaac Morland <isaac.morland@gmail.com>

From: Isaac Morland <isaac.morland@gmail.com>
To: Shivam Pandey <shivampandey91199@gmail.com>
Cc: pgsql-general@postgresql.org
Date: 2026-05-16T02:15:25Z
Lists: pgsql-general
On Fri, 15 May 2026 at 18:06, Shivam Pandey <shivampandey91199@gmail.com>
wrote:

> Hello PostgreSQL Team,
>
> I would like to share feedback from a developer perspective regarding
> cross-database querying in PostgreSQL.
>
> One feature that many developers appreciate in MySQL is the ability to
> directly query and join tables across multiple databases within the same
> server instance. This approach becomes very useful in real-world situations
> where applications need to access shared or distributed data quickly and
> efficiently.
>

What MySQL calls databases PostgreSQL calls schemas, and PostgreSQL
certainly has the ability to query and join tables across schemas.

What MySQL might call an instance (a collection of MySQL databases)
PostgreSQL calls a database (a collection of PostgreSQL schemas). A single
PostgreSQL instance has the ability to host multiple databases (albeit
sharing a single set of roles and role relationships). Can MySQL query and
join across multiple instances?