Re: Attaching database

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>
Cc: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Attaching database
Date: 2022-10-15 04:53:35
Message-ID: CAKFQuwYZKmrYQLbfkmdMz+0wWicGo78XE+p26SyhG9m1Esuvxg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Oct 14, 2022 at 9:47 PM Igor Korot <ikorot01(at)gmail(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Julien Rouhaud 2022-10-15 06:06:32 Re: Attaching database
Previous Message Igor Korot 2022-10-15 04:46:48 Re: Attaching database