[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: [GENERAL] Variable number of arguments in C language function.
From:       Daryl Tester <Daryl.Tester () iocane ! com ! au>
Date:       2002-03-30 2:52:56
[Download RAW message or body]

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.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic