Fix pg_restore to properly discard COPY data when trying to continue
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Feb 2006 20:59:06 +0000 (20:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Feb 2006 20:59:06 +0000 (20:59 +0000)
commitd6696dfbd0fcda1f200d93bb59f7727c7479a858
treeed0f9b488ea9e9fd81247a5242df45dfa95ba9ec
parent5fb353cb2818cf4805612b2a8f8a445c7167de50
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
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_backup_db.c