[EMAIL PROTECTED] (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 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]