Re: what causes new temp schemas to be created

Поиск
Список
Период
Сортировка
От Ted Toth
Тема Re: what causes new temp schemas to be created
Дата
Msg-id CAFPpqQEkg3g4jRf4Fxf3UF3F0tHLdEkNo37Q4tnSDnuQR3yCBw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: what causes new temp schemas to be created  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: what causes new temp schemas to be created  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
So it's an optimization to reuse existing but currently unused temp
schemas, correct?

On Mon, Jul 10, 2023 at 11:22 AM David G. Johnston
<david.g.johnston@gmail.com> wrote:
>
> On Mon, Jul 10, 2023 at 9:20 AM Ted Toth <txtoth@gmail.com> wrote:
>>
>> I don't see that the schema is removed when the session is over and I
>> see other sessions come along later and use it. I'm assuming here that
>> a session is started on connect and ended when the connection is
>> closed.
>>
>
> The first time a session needs a temporary schema it is assigned one which is then immediately cleared out.
>
> David J.



В списке pgsql-general по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: what causes new temp schemas to be created
Следующее
От: Tom Lane
Дата:
Сообщение: Re: what causes new temp schemas to be created