"David Monarchi" <david(dot)e(dot)monarchi(at)gmail(dot)com> writes:
> I'm trying to copy a file to a table in Postgres 8.2 and keep receiving the
> following message
> ERROR: end-of-copy marker corrupt
> CONTEXT: COPY domain_dom, line 3147756: ""
Have you looked at the input file near that line number? My guess is
misquoting of a \. sequence, or possibly (since you seem to be on
Windows) a LF-vs-CR/LF end-of-line format issue. It need not be
close to the actual end of that file...
regards, tom lane