Re: what causes new temp schemas to be created

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

Exactly.  We could just destroy and recreate the old temp schema,
but that seems to lead to useless catalog churn.  Instead we just
destroy any old contents, if there's an existing temp schema in
the slot assigned to the current backend.

            regards, tom lane



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

Предыдущее
От: Ted Toth
Дата:
Сообщение: Re: what causes new temp schemas to be created
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Is anyone using db_user_namespace?