How To Get Numetic Value!!! using C ???

Поиск
Список
Период
Сортировка
От Oleg Shalnev
Тема How To Get Numetic Value!!! using C ???
Дата
Msg-id 3DE22EBA.3030302@megalog.ru
обсуждение исходный текст
Список pgsql-general
Hi All!


I want to GetValue numeric type from binary cursor, but I have no ideas
how to do it.
Now I am using

double test;
test=atof((char*)GetValue(0,0));
in C function and doing
to_char(my_numeric_field, '9999999999999D99')
in database selection.
May be there is another normal way to do it.

Thanks a lot!!!
Oleg Shalnev


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: error on last line of function
Следующее
От: Tommi Maekitalo
Дата:
Сообщение: performanceboost with PostgreSQL