From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix some BufFileRead() error reporting
Date: Mon, 16 Jan 2023 09:08:57 +0000
Message-ID: <E1pHLU9-003vjp-3u@gemulon.postgresql.org> (raw)
Fix some BufFileRead() error reporting
Remove "%m" from error messages where errno would be bogus. Add short
read byte counts where appropriate.
This is equivalent to what was done in
7897e3bb902c557412645b82120f4d95f7474906, but some code was apparently
developed concurrently to that and not updated accordingly.
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f3501945-c591-8cc3-5ef0-b72a2e0eaa9c@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1561612e3bf3264c31618b9455d0c1003b9271ec
Modified Files
--------------
src/backend/backup/backup_manifest.c | 3 ++-
src/backend/replication/logical/worker.c | 33 ++++++++++++++++++--------------
2 files changed, 21 insertions(+), 15 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Fix some BufFileRead() error reporting
In-Reply-To: <E1pHLU9-003vjp-3u@gemulon.postgresql.org>
References: <E1pHLU9-003vjp-3u@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox