Fix another buglet in archive_waldump.c.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_waldump/archive_waldump.c | modified | +3 −1 |