Re: Numeric Functions - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Numeric Functions
Date
Msg-id 480DE411.8070408@dunslane.net
Whole thread Raw
In response to Numeric Functions  (Aaron Spiteri <azzmosphere@hotmail.com>)
List pgsql-hackers

Aaron Spiteri wrote:
>
>
>     ------------------------------------------------------------------------
>     I was wandering if there where any intentions of moving some of
>     the currently internal numeric function prototypes to the Numeric
>     header file.  I believe such functions like cmp_numerics, add_var,
>     etc would come in handy when writing user defined C code.
>
>     Would there be many ill effects by doing this?
>
>     What should I look out for if I try it?
>
>
> <http://mycareer.com.au/?s_cid=596065%20>

Umm ... you mean like this in builtins.h?

extern Datum numeric_cmp(PG_FUNCTION_ARGS);

cheers

andrew



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: port/thread.c and pthreads
Next
From: Dimitri Fontaine
Date:
Subject: Re: GiST opclass and varlena