Re: Calling V1 function from within the server

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

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Locking confusion
Следующее
От: "pgdb"
Дата:
Сообщение: Replicating PostgreSQL DB to lightweight system