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(-)
