Re: Oracle Decode Function

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Oracle Decode Function
Дата
Msg-id GNELIHDDFBOCMGBFGEFOIEFMCDAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Oracle Decode Function  (Marc Lavergne <mlavergne-pub@richlava.com>)
Список pgsql-hackers
> If you're asking about whether a custom function can have vararg 
> parameters, the answer appears to depend on the CREATE FUNCTION syntax. 
> I've never used them personally, but the PG_FUNCTION_ARGS and 
> PG_GETARG_xxx(#) macros (/src/includes/fmgr.h) available for compiled 
> functions would appear to support variable length argument lists. The 
> problem is that I couldn't pin down a CREATE FUNCTION that provided the 
> same vararg functionality. Hopefully somebody can answer this 
> conclusively.

contrib/fulltextindex/fti.c uses variable numbers of arguments...

Chris



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

Предыдущее
От: redmonde@purdue.edu
Дата:
Сообщение: solaris 9?
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: Which casts should be implicit