C functions, variable number of params?

Поиск
Список
Период
Сортировка
От mlw
Тема C functions, variable number of params?
Дата
Msg-id 3B5586A6.457F31D2@mohawksoft.com
обсуждение исходный текст
Список pgsql-hackers
How do I define a function as taking a variable number of parameters. The
documentation seems to indicate (...) but, no such luck.

markw=# create function concat( ... )
markw-#         returns varchar
markw-#         as '/usr/local/lib/pgcontains.so', 'concat'
markw-#         language 'c' with (iscachable);
ERROR:  parser: parse error at or near "."


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

Предыдущее
От: Gorazd Bozic
Дата:
Сообщение: Re: All computers in the world MUST sync with ATOMIC clock before 12:00 AM 21 July 2001!!!
Следующее
От: Patrick Macdonald
Дата:
Сообщение: Re: Idea: recycle WAL segments, don't delete/recreate 'em