Fix pg_restore to guard against unexpected EOF while reading an archive file.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6d1607dc3f83d1de9b4daeba2f0622e29cafc524
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-08-06T01:38:32Z
Releases: 8.1.10
Fix pg_restore to guard against unexpected EOF while reading an archive file.
Per report and partial patch from Chad Wagner.

Files