Re: isTempNamespaceInUse() is incorrect with its handling ofMyBackendId

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: isTempNamespaceInUse() is incorrect with its handling ofMyBackendId
Дата
Msg-id 20200113222319.GA1515@paquier.xyz
обсуждение исходный текст
Ответ на Re: isTempNamespaceInUse() is incorrect with its handling ofMyBackendId  (Julien Rouhaud <rjuju123@gmail.com>)
Ответы Re: isTempNamespaceInUse() is incorrect with its handling ofMyBackendId
Список pgsql-hackers
On Mon, Jan 13, 2020 at 02:56:13PM +0100, Julien Rouhaud wrote:
> Well, since isTempNamespaceInUse is for now only called by autovacuum, and
> shouldn't change soon, this really feels premature optimzation, so your
> original approach looks better.

Yes, I'd rather keep this routine in its simplest shape for now.  If
the optimization makes sense, though in most cases it won't because it
just helps sessions to detect faster their own temp schema, then let's
do it.  I'll let this patch aside for a couple of days to let others
comment on it, and if there are no objections, I'll commit the fix.
Thanks for the lookup!
--
Michael

Вложения

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: [Proposal] Global temporary tables
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: DROP OWNED CASCADE vs Temp tables