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_3_STABLE

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

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c.diff?r1=1.62.2.7&r2=1.62.2.8)
        pg_backup_custom.c (r1.23 -> r1.23.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_custom.c.diff?r1=1.23&r2=1.23.2.1)
        pg_backup_files.c (r1.21 -> r1.21.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_files.c.diff?r1=1.21&r2=1.21.2.1)
        pg_backup_tar.c (r1.32.2.2 -> r1.32.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_tar.c.diff?r1=1.32.2.2&r2=1.32.2.3)