| От | Michael Fuhr |
|---|---|
| Тема | Re: Retrieving timestamp data |
| Дата | |
| Msg-id | 20070304191718.GA39524@winnie.fuhr.org обсуждение |
| Ответ на | Re: Retrieving timestamp data ("::Willi the One::" <sonic_and_tails2000@yahoo.com>) |
| Список | pgsql-interfaces |
On Sun, Mar 04, 2007 at 09:54:59AM -0800, ::Willi the One:: wrote: > > Unless you request results in binary format all values will be > > returned as text strings. What happened when you tried it? Are > > you requesting results in binary format? > > So all data are returned as string unless I say so? PQexecParams() and PQexecPrepared() take an argument that specifies the result format so you have to indicate which format you want. PQexec() doesn't take a format argument so it returns results in text format unless you're fetching from a binary cursor. > by the way, are there any site containing tutorials on > libpq? Probably; Google is your friend :-) -- Michael Fuhr
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера