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.

Modified Files:
--------------
    pgsql/src/bin/pg_dump:
        pg_backup_archiver.c (r1.144 -> r1.145)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c.diff?r1=1.144&r2=1.145)
        pg_backup_custom.c (r1.38 -> r1.39)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_custom.c.diff?r1=1.38&r2=1.39)
        pg_backup_files.c (r1.32 -> r1.33)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_files.c.diff?r1=1.32&r2=1.33)
        pg_backup_tar.c (r1.58 -> r1.59)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_tar.c.diff?r1=1.58&r2=1.59)