| От | Shridhar Daithankar |
|---|---|
| Тема | Re: C++: get value for integral types? |
| Дата | |
| Msg-id | 3DD0EE71.4283.3567A75@localhost обсуждение исходный текст |
| Ответ на | Re: C++: get value for integral types? (Vassil Kriakov <vassilk@yahoo.com>) |
| Ответы |
Re: C++: get value for integral types?
|
| Список | pgsql-general |
On 11 Nov 2002 at 11:44, Vassil Kriakov wrote: > It makes me very uneasy doing a (int *) on char* PQgetvalue(...) just > because i EXPECT it to give me an int type. And of course the question > of user-defined types!? I went thr. the entire thread quoted in this mail. One thing I don't understand is casting int* on a string. I always did an atoi(PQgetvalue()). I thought that was the way. What's the problem exactly? Dunno about binary tuples. Never used it.. Bye Shridhar -- Tussman's Law: Nothing is as inevitable as a mistake whose time has come.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера