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@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general