"DaviS Quirico" <davis@davisnet.it> writes:
> CopyReadAttribute: end of record marker corrupted
This message comes out if the COPY data contains \. not immediately
followed by newline (\n). I'm guessing that you have some backslashes
that need to be doubled --- backslash is an escape character for COPY.
Another possibility is that you actually did put a \. end-marker after
your data, but followed it with a DOS-style return (\r\n) or nothing at
all.
regards, tom lane