Re: have you feel anything when you read this ?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: have you feel anything when you read this ?
Дата
Msg-id 20060406052747.Q93517@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: have you feel anything when you read this ?  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список 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 по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: have you feel anything when you read this ?
Следующее
От: "Eugene E."
Дата:
Сообщение: Re: have you feel anything when you read this ?