Re: how to correctly react on exception in pfree function?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how to correctly react on exception in pfree function?
Дата
Msg-id 862925.1665617093@sss.pgh.pa.us
обсуждение исходный текст
Ответ на how to correctly react on exception in pfree function?  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: how to correctly react on exception in pfree function?
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> I had a talk with Julien about the correct handling of an exception raised
> by pfree function.

> Currently, this exception (elog(ERROR, "could not find block containing
> chunk %p", chunk);) is not specially handled ever.

There are hundreds, if not thousands, of "shouldn't ever happen" elogs
in Postgres.  We don't make any attempt to trap any of them.  Why do
you think this one should be different?

            regards, tom lane



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

Предыдущее
От: Nikita Malakhov
Дата:
Сообщение: Re: Pluggable toaster
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: Bloom filter Pushdown Optimization for Merge Join