Fix pg_restore to guard against unexpected EOF while reading an archive file.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Aug 2007 01:38:49 +0000 (01:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Aug 2007 01:38:49 +0000 (01:38 +0000)
commitb58230005b881626bf133c56e1f4d218e9037d36
tree359456b6621e0cda2d90d5b277a984169285f42d
parent3ca3c71141e8259810c6f46fd04892463dadffe9
Fix pg_restore to guard against unexpected EOF while reading an archive file.
Per report and partial patch from Chad Wagner.
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_custom.c
src/bin/pg_dump/pg_backup_files.c
src/bin/pg_dump/pg_backup_tar.c