Dave Huber <DHuber@xxxxxxxxxxxxxxxxxxxxxxxxxx> writes: > Now, I have a different issue. The result from PQgetCopyData is always > 1 for every row of data returned. Does this not work for return data > "WITH BINARY"? Weird, it should be the row length in bytes. Are you maybe testing on empty rows? regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general