Re: code example for PQgetCopyData

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Huber <DHuber(at)letourneautechnologies(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: code example for PQgetCopyData
Date: 2009-12-03 21:28:36
Message-ID: 14771.1259875716@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dave Huber <DHuber(at)letourneautechnologies(dot)com> 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel 2009-12-03 21:47:06 Re: Strange. I can logon with an invalid or no password atall
Previous Message Dave Page 2009-12-03 21:15:56 Re: Build universal binary on Mac OS X 10.6?