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:32 +0000 (01:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Aug 2007 01:38:32 +0000 (01:38 +0000)
commitda4462fb0b9fa5fb12bb2df3a1826548d56c9fe8
tree474788e47fa099d140493b0159e6179091642d02
parentd495e80b7d9f56b7e52eeb2fb0676b6677cffa7c
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