Thread: pgsql: Fix some BufFileRead() error reporting

pgsql: Fix some BufFileRead() error reporting

From
Peter Eisentraut
Date:
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
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cf74b6eadb9d8fcfd51a99e9cc6b04d019e36b12

Modified Files
--------------
src/backend/replication/backup_manifest.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)