Обсуждение: Converting returned string to C type

Поиск
Список
Период
Сортировка

Converting returned string to C type

От
Graham Wilson
Дата:
Hi all,

I'm using the libpq `PQgetvalue` function to get
specific results from my datase.  Many of these
results are numeric types.  Is there an internal
function in libpq that will convert the returned
string to an appropriate C-type based on the oid
values in src/include/catalog/pg_type.h?

Many thanks.


______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca