Re: Get info about the index - Mailing list pgsql-general

From Igor Korot
Subject Re: Get info about the index
Date
Msg-id CA+FnnTx+PUY8kJYNXnp3itLrSML3QZ5DtRssDVbAXQZsecrf=Q@mail.gmail.com
Whole thread Raw
In response to Re: Get info about the index  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-general


On Tue, Jul 29, 2025, 9:24 AM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
On Tue, 2025-07-29 at 07:18 -0500, Igor Korot wrote:
> If I have a database for some financial data for the year 2024 in the
> mydb_2024 and I have current year financial data in the mydb_2025 how
> can I compare the data?

You connect to both and query them both.

Alternatively, you use postgres_fdw to access the other database.

Even better, put both tables in the same database, perhaps in different schemas.

Understood.

It was just an educational question to better understand all possible ways to proceed.

Thank you.


Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Get info about the index
Next
From: Laurenz Albe
Date:
Subject: Re: Regarding logical replication issues with PostgreSQL versions 16and above