Re: Calling V1 function from within the server

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Calling V1 function from within the server
Дата
Msg-id 20060502192137.GF13702@svana.org
обсуждение исходный текст
Ответ на Calling V1 function from within the server  (Don Y <pgsql@DakotaCom.Net>)
Ответы Re: Calling V1 function from within the server  (Don Y <pgsql@DakotaCom.Net>)
Список 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.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "Christo Romberg"
Дата:
Сообщение: FATAL: database "dspace" does not exist"
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: 8.1.4 anytime soon?