Re: Attaching database - Mailing list pgsql-general

From David G. Johnston
Subject Re: Attaching database
Date
Msg-id CAKFQuwYZKmrYQLbfkmdMz+0wWicGo78XE+p26SyhG9m1Esuvxg@mail.gmail.com
Whole thread Raw
In response to Re: Attaching database  (Igor Korot <ikorot01@gmail.com>)
List pgsql-general
On Fri, Oct 14, 2022 at 9:47 PM Igor Korot <ikorot01@gmail.com> wrote:

Making catalog current means switching between DBs.
Remember initially I connected to (finance) DB, which made the (finance) catalog
current.
Then I "opened a second connection" to (finance_2021), which made
that current catalog and so that select would give me all tables from
(finance_2021).

I hope now its clearer.

No, it is not clearer.  I suggest you show some code.  Given what you've said my guess is you are not correct.

David J.

pgsql-general by date:

Previous
From: Igor Korot
Date:
Subject: Re: Attaching database
Next
From: Julien Rouhaud
Date:
Subject: Re: Attaching database