Re: Variable number of arguments in C language function.

Поиск
Список
Период
Сортировка
От Daryl Tester
Тема Re: Variable number of arguments in C language function.
Дата
Msg-id 3CA525B8.B728F859@iocane.com.au
обсуждение исходный текст
Ответ на Variable number of arguments in C language function.  (Daryl Tester <Daryl.Tester@iocane.com.au>)
Список pgsql-general
Tom Lane wrote:

> There isn't any support for variable numbers of arguments; you're just
> going to have to make N pg_proc entries pointing at the same C function.

Cool, I can live with this now that I know about the restriction
on argument types.  My concern was having an entry for each
permutation of type and number of arguments, which would have
gotten unwieldy pretty quickly.  Thanks for the quick reply.

I'd have to square it with my employers first, but how would I go
about contributing this code when it's done?  Or wouldn't there
be much call for it (given the caveats of executing as the postgres
backend uid and all)?


--
Regards,
  Daryl Tester,  Software Wrangler and Bit Herder, IOCANE Pty. Ltd.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Variable number of arguments in C language function.
Следующее
От: John Gibson
Дата:
Сообщение: make check help!