diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-11-22 13:43:43 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-11-22 13:43:43 -0300 |
commit | 2fed48f48f7f2f7a6d6f6d020f046efe3c249828 (patch) | |
tree | ff31f390721e3f290f321a796b54963ec8b39e18 /src/backend/access/transam/xlogutils.c | |
parent | 042412879e35791a65509f2786b4954a273466e5 (diff) | |
download | postgresql-2fed48f48f7f2f7a6d6f6d020f046efe3c249828.tar.gz postgresql-2fed48f48f7f2f7a6d6f6d020f046efe3c249828.zip |
Be more specific about OOM in XLogReaderAllocate
A couple of spots can benefit from an added errdetail(), which matches
what we were already doing in other places; and those that cannot
withstand errdetail() can get a more descriptive primary message.
Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://postgr.es/m/CALj2ACV+cX1eM03GfcA=ZMLXh5fSn1X1auJLz3yuS1duPSb9QA@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions