Thread: Which DatumGet ?

Which DatumGet ?

From
Enrico
Date:
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 ?

From
Martijn van Oosterhout
Date:
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   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment