Tom Lane wrote:
No, but did you do a PQgetResult? See the description of PQgetCopyData.
Oops! Thanks Tom. Even after many re-reads, I missed that final paragraph in
the manual, and have wasted ages on this.
Nathaniel
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To
I'm working on a client library, written in C, and am using:
COPY sometable TO STDOUT WITH BINARY
followed by calls to 'PQgetCopyData' to retrieve data from the table as a
postgres binary stream.
All my DB interaction is synchronous.
I've had things working for some time, but recent enhancem