Re: [HACKERS] idea: simple variadic functions in SQL and PL/pgSQL

2008-02-27 Thread Pavel Stehule
Hello On 26/02/2008, Andrew Dunstan <[EMAIL PROTECTED]> wrote: > > > Pavel Stehule wrote: > > Hello, > > > > I found easy implementation of variadic functions. It's based on > > adapation FuncnameGetCandidates. When I found variadic function, then > > I should create accurate number of last

Re: [HACKERS] idea: simple variadic functions in SQL and PL/pgSQL

2008-02-25 Thread Andrew Dunstan
Pavel Stehule wrote: Hello, I found easy implementation of variadic functions. It's based on adapation FuncnameGetCandidates. When I found variadic function, then I should create accurate number of last arguments (diff between pronargs and nargs). Variadic function can be signed via flag or vi

[HACKERS] idea: simple variadic functions in SQL and PL/pgSQL

2008-02-24 Thread Pavel Stehule
Hello, I found easy implementation of variadic functions. It's based on adapation FuncnameGetCandidates. When I found variadic function, then I should create accurate number of last arguments (diff between pronargs and nargs). Variadic function can be signed via flag or via some pseudotype. Flag i