Mike Mascari <mascarm(at)mascari(dot)com> writes:
> Does anyone happen to have a server-side C-language example of
> using the Version-1 calling conventions with the NUMERIC data
> type?
utils/adt/numeric.c is full of examples --- just add the
PG_FUNCTION_INFO_V1() macro and you have a perfectly good external
function.
> Are there any helper functions available to the C-language
> server-side developer wrt numeric?
They are all in numeric.c ... unfortunately, they're mostly static.
What exactly do you need to do?
regards, tom lane