pgsql: Fix pg_restore to properly discard COPY data when trying to - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix pg_restore to properly discard COPY data when trying to
Date
Msg-id 20060205205857.CC2AC9DC9CC@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix pg_restore to properly discard COPY data when trying to continue
after an error in a COPY statement.  Formerly it thought the COPY data
was SQL commands, and got quite confused.

Stephen Frost

Tags:
----
REL8_1_STABLE

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

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c.diff?r1=1.117.2.1&r2=1.117.2.2)
        pg_backup_archiver.h (r1.68 -> r1.68.2.1)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.h.diff?r1=1.68&r2=1.68.2.1)
        pg_backup_db.c (r1.66 -> r1.66.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_db.c.diff?r1=1.66&r2=1.66.2.1)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix pg_restore to properly discard COPY data when trying to
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix pg_restore to properly discard COPY data when trying to