Search Postgresql Archives

Re: Calling V1 function from within the server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux