pgsql: Fix another buglet in archive_waldump.c. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix another buglet in archive_waldump.c.
Date
Msg-id E1w4Rb8-000zk9-1Y@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix another buglet in archive_waldump.c.

While re-reading 860359ea0, I noticed another problem: when
spilling to a temp file, it did not bother to check the result
of fclose().  This is bad since write errors (like ENOSPC)
may not be reported until close time.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/69c57466a7521ee146cfdde766713181d45a2d36

Modified Files
--------------
src/bin/pg_waldump/archive_waldump.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix assorted bugs in archive_waldump.c.
Next
From: Michael Paquier
Date:
Subject: pgsql: Add missing deflateEnd() for server-side gzip base backups