Fix pg_restore to guard against unexpected EOF while reading an archive file.
Tom Lane <tgl@sss.pgh.pa.us>
Fix pg_restore to guard against unexpected EOF while reading an archive file. Per report and partial patch from Chad Wagner.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_backup_archiver.c | modified | +7 −5 |
| src/bin/pg_dump/pg_backup_custom.c | modified | +6 −5 |
| src/bin/pg_dump/pg_backup_files.c | modified | +5 −4 |
| src/bin/pg_dump/pg_backup_tar.c | modified | +7 −6 |