Re: Autovaccuum vs temp tables crash

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Autovaccuum vs temp tables crash
Дата
Msg-id CABUevEzMEO8=xo+WBwBeVSNm9v_tF7xzoXoUVsHChCB7PwS8Pg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Autovaccuum vs temp tables crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers


On Sat, Feb 23, 2019 at 5:01 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Magnus Hagander <magnus@hagander.net> writes:
> I think we're better off just peventing the explicit drop of a temp schema.
> See attached?

I think this is a poor implementation of a bad idea.  Would you like a
list of the ways a superuser can break the system?  We could start with
"DELETE FROM pg_proc;".

Yeah, true.

That said, I'm not sure there is much point in fixing the original problem either. It comes down to a "don't do that", as the system just keeps crashing even if we fix that one. Trying to fix every possible place that breaks if there are tables with invalid data in pg_class like that is not likely to work either. 

--

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Autovaccuum vs temp tables crash
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [PATCH v20] GSSAPI encryption support