The contents of the error message are:
conn->errorMessage.data 0x00312440 "pqFlush() -- couldn't send data:
errno=0
No error A non-blocking socket operation could not be completed
immediately.
for this:
if (PQputline(conn, pszBCPdata[i++]) == EOF)
printf("Error inserting data on row %d\n",
i-1);
What is the correct recovery action? Do I send the same buffer again?