Re: have you feel anything when you read this ? - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: have you feel anything when you read this ?
Date
Msg-id 20060406052747.Q93517@megazone.bigpanda.com
Whole thread Raw
In response to Re: have you feel anything when you read this ?  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
List pgsql-sql
On Thu, 6 Apr 2006, Stephan Szabo wrote:

> On Thu, 6 Apr 2006, Eugene E. wrote:
>
> If you meant that you must retrieve them in a separate query, you're
> incorrect, since you *could* use the binary form for the others. I can't
> understand if you don't realize that there is one for all these various
> types, or that you just don't wish to use it (for example, I believe using
> %d on ntohl(value from pqgetvalue) or something similar will print your
> integer).

For notes sake, the example code with binary retrieval in the docs seems
to haventohl(*((uint32_t *) iptr))
for iptr being the result of PQgetvalue on an integer column.


pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: have you feel anything when you read this ?
Next
From: "Eugene E."
Date:
Subject: Re: have you feel anything when you read this ?