Re: Function with Variable number of parameters

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Function with Variable number of parameters
Дата
Msg-id BAY20-F23CCA3F10A81EA0622C84CF9640@phx.gbl
обсуждение исходный текст
Ответ на Function with Variable number of parameters  (Edwin Ramirez <edwin.ramirez@mssm.edu>)
Список pgsql-hackers
>
>Are variable number of parameters supported in the new version of Postgres?
>

Hello

no, there isn't way for it without modification of parser. Or you can write 
somethink like

create function a(init, int, int, int) ..
create function a(int, int, int) returns ..   return a($1,$2,$3, null)

Regards
Pavel Stehule

_________________________________________________________________
Chcete sdilet sve obrazky a hudbu s prateli? http://messenger.msn.cz/



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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: plperl error when making 8.2dev CVS
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Enums again