Re: Calling V1 function from within the server - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Calling V1 function from within the server
Date
Msg-id 20060502192137.GF13702@svana.org
Whole thread Raw
In response to Calling V1 function from within the server  (Don Y <pgsql@DakotaCom.Net>)
Responses Re: Calling V1 function from within the server  (Don Y <pgsql@DakotaCom.Net>)
List pgsql-general
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@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: "Christo Romberg"
Date:
Subject: FATAL: database "dspace" does not exist"
Next
From: Bruno Wolff III
Date:
Subject: Re: 8.1.4 anytime soon?