Re: Variable number of arguments in C language function.

From: Daryl Tester <Daryl(dot)Tester(at)iocane(dot)com(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Variable number of arguments in C language function.
Date: 2002-03-30 02:40:56
Message-ID: 3CA525B8.B728F859@iocane.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Madhavi Daroor 2002-03-30 04:58:39 retun cursor
Previous Message Tom Lane 2002-03-30 00:57:45 Re: Variable number of arguments in C language function.