add missing errdetail for xlogreader allocation failure error
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-11-19T03:59:15Z
Lists: pgsql-hackers
Attachments
- v1-0001-add-missing-errdetail-for-xlogreader-allocation-f.patch (application/octet-stream) patch v1-0001
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.
Commits
-
Be more specific about OOM in XLogReaderAllocate
- 2fed48f48f7f 15.0 landed