reina_ga@hotmail.com (Tony Reina) writes:
> * PQputCopyData(conn, cmd, sizeof(cmd));
I'm a bit rusty on C++ string mashing, but surely sizeof() is not the
correct way to determine the number of bytes presently stored in a
variable-length string?
> * PQputCopyEnd(conn, msg);
You want to pass NULL for the second argument.
regards, tom lane