Re: C++: get value for integral types?

Поиск
Список
Период
Сортировка
От Frank Miles
Тема Re: C++: get value for integral types?
Дата
Msg-id Pine.A41.4.44.0211101452560.113104-100000@homer28.u.washington.edu
обсуждение исходный текст
Ответ на C++: get value for integral types?  (Vassil Kriakov <vassilk@yahoo.com>)
Ответы Re: C++: get value for integral types?  (Tommi Maekitalo <t.maekitalo@epgmbh.de>)
Список pgsql-general
On Sun, 10 Nov 2002, Vassil Kriakov wrote:

> Does anyone know whether it is possible to get a tuple's value as an
> int, float, bool, etc. using the C++ postgresql library?
>
> Getting floats as string representations (via char* GetValue(...)) of
> the value is not acceptable! Using strings and streams to convert the
> values to the corresponding integral type may cause problems!
>
> Any ideas, workarounds? Is BinaryTuples really not implemnted yet?

Doesn't the C++ version work?  Have you DECLAREd a binary cursor and
used FETCH to get the data?  (It works with libpq)

HTH--

    -frank


В списке pgsql-general по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: Upgrading from 7.1.3 to 7.2.3
Следующее
От: "Aurangzeb M. Agha"
Дата:
Сообщение: Re: Upgrading from 7.1.3 to 7.2.3