]> granicus.if.org Git - postgresql/commit
Fix pg_restore to properly discard COPY data when trying to continue
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Feb 2006 20:58:47 +0000 (20:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Feb 2006 20:58:47 +0000 (20:58 +0000)
commit8e4057cc7d620c08d8062505337c8dc7c262efc8
tree127421155747881b679a236ab0db0358ecc88f04
parentdb5e39b2f0c6e0b1035b1d39d1cbfb8f324348fd
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