Re: Autovaccuum vs temp tables crash

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Autovaccuum vs temp tables crash
Дата
Msg-id 20190227063903.GE3540@paquier.xyz
обсуждение исходный текст
Ответ на Re: Autovaccuum vs temp tables crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Feb 26, 2019 at 07:21:40PM -0500, Tom Lane wrote:
> The existing state of affairs is that a superuser who really needs to drop
> a temp schema can do so, if she's careful that it's not active.  Pinning
> things would break that, or at least add an additional roadblock.  If it's
> some sort of virtual pin rather than a regular pg_depend entry, then it
> *would* be impossible to get around (mumble ... DELETE FROM pg_namespace
> ... mumble).  As against that, what problem are we fixing by preventing
> superusers from doing that?  A careless superuser can screw things up
> arbitrarily badly in any case, so I'm not that fussed about the hazard
> that the namespace isn't idle.

And when you try to do chirugy on a corrupted cluster, it can be on
the contrary very useful to be able to work with objects and
manipulate them more freely as a superuser.
--
Michael

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: TupleTableSlot abstraction
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: TupleTableSlot abstraction