Merlin Moncure wrote: > PQbinaryTuples is basically going to return whatever you passed into > resultformat when you executed the query (in the case of PQexec, it's > going to be 1 always). You mean 0 (i.e. text, not binary). And with an exception on PQexec("FETCH c") when c is a binary cursor. In this case the result is binary and PQbinaryTuples() reflects that. Best regards, -- Daniel PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general