Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Seems nested transactions are not required if we load each COPY line in
> its own transaction, like we do with INSERT from pg_dump.
I don't think that's an acceptable answer. Consider
BEGIN;
other stuff;
COPY ....;
other stuff;
ROLLBACK;
regards, tom lane