GetValue numeric type

From: Oleg Shalnev <ovs(at)megalog(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: GetValue numeric type
Date: 2002-11-21 13:59:15
Message-ID: 3DDCE6B3.9010408@megalog.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Christoph Dalitz 2002-11-21 14:00:07 Re: tcpip connections..
Previous Message Oliver Elphick 2002-11-21 13:52:55 Re: tcpip connections..