GetValue numeric type - Mailing list pgsql-general

From Oleg Shalnev
Subject GetValue numeric type
Date
Msg-id 3DDCE6B3.9010408@megalog.ru
Whole thread Raw
List 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 by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: tcpip connections..
Next
From: Christoph Dalitz
Date:
Subject: Re: tcpip connections..