add missing errdetail for xlogreader allocation failure error

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема add missing errdetail for xlogreader allocation failure error
Дата
Msg-id CALj2ACV+cX1eM03GfcA=ZMLXh5fSn1X1auJLz3yuS1duPSb9QA@mail.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  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Hi,

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?

Regards,
Bharath Rupireddy.

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Skipping logical replication transactions on subscriber side
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: row filtering for logical replication