]> 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:57 +0000 (20:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Feb 2006 20:58:57 +0000 (20:58 +0000)
commit7d41ef1a92ff07a44930cb2dbf67d86850081b38
treebdd7b20d6da2944c4db252e41875a81455435ce2
parentc75c372c58dd994b9da0cf37648ad092fb450bd8
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