Re: Function with variable number of arguments

Поиск
Список
Период
Сортировка
От Keith Worthington
Тема Re: Function with variable number of arguments
Дата
Msg-id 20050414153826.M62139@narrowpathinc.com
обсуждение исходный текст
Ответ на Function with variable number of arguments  (Olivier Thauvin <olivier.thauvin@aerov.jussieu.fr>)
Список pgsql-novice
On Thu, 14 Apr 2005 17:26:53 +0200, Olivier Thauvin wrote
> Is it possible to have or create a SQL function with variable
> numbers of arguments:
>
> FUNC(...) which reply to call FUNC("") or FUNC('', ''), ect...
>
> It seems not :(

Sure.  See function overloading in the documentation.
http://www.postgresql.org/docs/8.0/interactive/xfunc-overload.html

Kind Regards,
Keith

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

Предыдущее
От: Olivier Thauvin
Дата:
Сообщение: Function with variable number of arguments
Следующее
От: Gerry Jensen
Дата:
Сообщение: Re: duplicate rows mystery