Re: Truncation of mapped catalogs (whether local or shared) leads to server crash

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Truncation of mapped catalogs (whether local or shared) leads to server crash
Дата
Msg-id CA+TgmoZEYnXBtiar1+9cB_T+b-ovmCCKr7RHffR3OGUWK3_UOA@mail.gmail.com
обсуждение исходный текст
Ответ на Truncation of mapped catalogs (whether local or shared) leads to server crash  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Ответы Re: Truncation of mapped catalogs (whether local or shared) leads to server crash
Список pgsql-hackers
On Tue, Jun 18, 2024 at 8:10 AM Ashutosh Sharma <ashu.coek88@gmail.com> wrote:
> I've noticed that truncating mapped catalogs causes the server to
> crash due to an assertion failure. Here are the details:
>
> Executing below commands:
>
> -- set allow_system_table_mods TO on;
> -- truncate table pg_type;

If the operation isn't allowed without turning on
allow_system_table_mods, that means that doing it is probably a bad
idea and will probably break stuff, as happened here.

--
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: may be a buffer overflow problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Truncation of mapped catalogs (whether local or shared) leads to server crash