Re: Variable number of arguments in C language function. - Mailing list pgsql-general

From Daryl Tester
Subject Re: Variable number of arguments in C language function.
Date
Msg-id 3CA525B8.B728F859@iocane.com.au
Whole thread Raw
In response to Variable number of arguments in C language function.  (Daryl Tester <Daryl.Tester@iocane.com.au>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Variable number of arguments in C language function.
Next
From: John Gibson
Date:
Subject: make check help!