Which DatumGet ?

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

Which DatumGet ?

От:
Enrico <scotty@linuxtime.it>
Дата:
In my table I have a field myfied defined by

myfield numeric(20,5);

Which kind of DatumGet macro I have to use?

Regards,
Enrico
-- 
If Bill Gates had a penny for everytime Windows crashed,he'd be a multi-billionaire by now .......oh look, he already is !!!!
scotty@linuxtime.it - Skype:sscotty71
http://www.linuxtime.it/enricopirozzi

Re: Which DatumGet ?

От:
Martijn van Oosterhout <kleptog@svana.org>
Дата:
Вложения:
On Fri, Nov 10, 2006 at 05:30:09PM +0100, Enrico wrote:
> In my table I have a field myfied defined by
> 
> myfield numeric(20,5);
> 
> Which kind of DatumGet macro I have to use?

As an indirect type you want DatumGetPointer and cast it to numeric*.

Have a nice day,
-- 
Martijn van Oosterhout      http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
FAQ