Christian Fowler <spider(at)viovio(dot)com> writes:
> After much wrestling, it appears the hex byte sequence #bfef in a VARCHAR
> column causes a truncated COPY line to be written (and thus the *entire*
> COPY block fails).
What database encoding and locale are you using?
regards, tom lane