Re: Autovaccuum vs temp tables crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Autovaccuum vs temp tables crash
Дата
Msg-id 18143.1550859275@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Autovaccuum vs temp tables crash  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Autovaccuum vs temp tables crash  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Feb 22, 2019 at 12:54 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Robert Haas <robertmhaas@gmail.com> writes:
>>> On Fri, Feb 22, 2019 at 3:43 AM Magnus Hagander <magnus@hagander.net> wrote:
>>>> We are certainly not supposed to go DROP SCHEMA on the temp namespaces, ...

>>> Actually, I think that's supposed to work.

>> If it's in active use by any session (including your own), that's not going
>> to have nice consequences; the owning session will have the OID in
>> static storage, and it will be unhappy when that OID becomes dangling.

> Maybe that's something we should fix?

Why?  It would likely be a significant amount of effort and added overhead,
to accomplish no obviously-useful goal.

Note that all the temp schemas are made as owned by the bootstrap
superuser, so there is no real argument to be made that people might
be expecting they should be able to delete them.

            regards, tom lane


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

Предыдущее
От: Corey Huinker
Дата:
Сообщение: Re: some ri_triggers.c cleanup
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Autovaccuum vs temp tables crash