Wes <wespvp(at)syntegra(dot)com> writes:
> I sent the column headers as the first line of the input. While this I now
> know this is wrong, the problem here is that I got no error response back.
> ...
> However, every call to PQputCopyData, as well as PQputCopyEnd returned a
> result of 1.
That just indicates that the data was sent to the backend without error.
You forgot to check the copy command result afterward.
regards, tom lane