From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Be more specific about OOM in XLogReaderAllocate |
Date: | 2021-11-22 16:45:21 |
Message-ID: | E1mpCRV-0007vv-P0@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(dot)rupireddyforpostgres(at)gmail(dot)com>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reviewed-by: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Discussion: https://postgr.es/m/CALj2ACV+cX1eM03GfcA=ZMLXh5fSn1X1auJLz3yuS1duPSb9QA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2fed48f48f7f2f7a6d6f6d020f046efe3c249828
Modified Files
--------------
src/backend/access/transam/xlog.c | 2 +-
src/backend/replication/logical/logical.c | 3 ++-
src/backend/replication/walsender.c | 3 ++-
src/bin/pg_rewind/parsexlog.c | 6 +++---
src/bin/pg_waldump/pg_waldump.c | 2 +-
5 files changed, 9 insertions(+), 7 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-11-22 17:55:29 | pgsql: Probe $PROVE not $PERL while checking for modules needed by TAP |
Previous Message | Tom Lane | 2021-11-22 16:02:47 | Re: pgsql: Require version 0.98 of Test::More for TAP tests |