add missing errdetail for xlogreader allocation failure error - Mailing list pgsql-hackers

From Bharath Rupireddy
Subject add missing errdetail for xlogreader allocation failure error
Date
Msg-id CALj2ACV+cX1eM03GfcA=ZMLXh5fSn1X1auJLz3yuS1duPSb9QA@mail.gmail.com
Whole thread Raw
Responses Re: add missing errdetail for xlogreader allocation failure error
Re: add missing errdetail for xlogreader allocation failure error
List 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.

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Skipping logical replication transactions on subscriber side
Next
From: Amit Kapila
Date:
Subject: Re: row filtering for logical replication