Re: add missing errdetail for xlogreader allocation failure error

Поиск
Список
Период
Сортировка
Искать
От
Daniel Gustafsson
Тема
Re: add missing errdetail for xlogreader allocation failure error
Дата
Msg-id
079D519B-0FA2-40DB-B373-8B58D52B69D9@yesql.se
Ответ на
Список
Дерево обсуждения
add missing errdetail for xlogreader allocation failure error Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: add missing errdetail for xlogreader allocation failure error Daniel Gustafsson <daniel@yesql.se>
Re: add missing errdetail for xlogreader allocation failure error Julien Rouhaud <rjuju123@gmail.com>
Re: add missing errdetail for xlogreader allocation failure error Alvaro Herrera <alvherre@alvh.no-ip.org>
> On 19 Nov 2021, at 04:59, Bharath Rupireddy  wrote:

> It seems like some of the XLogReaderAllocate failure check errors are
> not having errdetail "Failed while allocating a WAL reading
> processor." but just the errmsg "out of memory". The "out of memory"
> message without the errdetail is too generic and let's add it for
> consistency and readability of the message in the server logs.
> 
> Here's a tiny patch. Thoughts?

No objections.  There are quite a few more "out of memory" errors without
errdetail but that doesn't mean we can't move the needle with these.

--
Daniel Gustafsson		https://vmware.com/



В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата:
От: Julien Rouhaud
Дата:
FAQ