Stephen Frost <sfrost@snowman.net> writes:
> It seems like pg_restore really should be able to handle COPY errors
> correctly by skipping to the end of the COPY data segment when the
> initial COPY command comes back as an error.
Send a patch ;-)
regards, tom lane