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:
----
REL7_4_STABLE

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

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c.diff?r1=1.79.2.6&r2=1.79.2.7)
        pg_backup_custom.c (r1.26 -> r1.26.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_custom.c.diff?r1=1.26&r2=1.26.2.1)
        pg_backup_files.c (r1.22 -> r1.22.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_files.c.diff?r1=1.22&r2=1.22.2.1)
        pg_backup_tar.c (r1.38.2.1 -> r1.38.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_tar.c.diff?r1=1.38.2.1&r2=1.38.2.2)