| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера