Re: Function with variable number of arguments - Mailing list pgsql-novice

From Keith Worthington
Subject Re: Function with variable number of arguments
Date
Msg-id 20050414153826.M62139@narrowpathinc.com
Whole thread Raw
In response to Function with variable number of arguments  (Olivier Thauvin <olivier.thauvin@aerov.jussieu.fr>)
List pgsql-novice
On Thu, 14 Apr 2005 17:26:53 +0200, Olivier Thauvin wrote
> Is it possible to have or create a SQL function with variable
> numbers of arguments:
>
> FUNC(...) which reply to call FUNC("") or FUNC('', ''), ect...
>
> It seems not :(

Sure.  See function overloading in the documentation.
http://www.postgresql.org/docs/8.0/interactive/xfunc-overload.html

Kind Regards,
Keith

pgsql-novice by date:

Previous
From: Olivier Thauvin
Date:
Subject: Function with variable number of arguments
Next
From: Gerry Jensen
Date:
Subject: Re: duplicate rows mystery