Hi I faintly remember that I once stumbled upon a way to declare variadic functions (functions that take a variable number of arguments) in plpgsql - but I just searched the docs and can't find any reference to variadic functions. So - please enlighten me - are there variadic functions in plpgsql, or are there none? greetings, Florian Pflug
"Florian G. Pflug" <fgp@phlo.org> writes:
> I faintly remember that I once stumbled upon a way to declare variadic
> functions (functions that take a variable number of arguments) in plpgsql -
> but I just searched the docs and can't find any reference to variadic
> functions.
Nope. You can sort of kluge around this at the C level (by making
multiple pg_proc entries pointing at the same C function), but there's
no such capability in any PL language.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера