Thread: pgsql: Fix pg_restore to guard against unexpected EOF while reading an

pgsql: Fix pg_restore to guard against unexpected EOF while reading an

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix pg_restore to guard against unexpected EOF while reading an archive file.
Per report and partial patch from Chad Wagner.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/bin/pg_dump:
        pg_backup_archiver.c (r1.101.4.9 -> r1.101.4.10)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c.diff?r1=1.101.4.9&r2=1.101.4.10)
        pg_backup_custom.c (r1.29.4.1 -> r1.29.4.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_custom.c.diff?r1=1.29.4.1&r2=1.29.4.2)
        pg_backup_files.c (r1.25 -> r1.25.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_files.c.diff?r1=1.25&r2=1.25.4.1)
        pg_backup_tar.c (r1.46.4.2 -> r1.46.4.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_tar.c.diff?r1=1.46.4.2&r2=1.46.4.3)