Martijn van Oosterhout wrote:
On Tue, May 02, 2006 at 11:24:34AM -0700, Don Y wrote:
Hi,

If I define:

Datum barcode_checksum(PG_FUNCTION_ARGS)

PG_FUNCTION_INFO_V1(barcode_checksum)

<snip>

and now want to *use* that function within some other
(related) function, how can I invoke it?  The intuitive

You want DirectFunctionCalln or FunctionCalln as defined in fmgr.h

Yikes!  I *never* would have found that!  :-(
Thanks!
--don

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to