Re: Variadic functions in plpgsql? - Mailing list pgsql-general

From Tom Lane
Subject Re: Variadic functions in plpgsql?
Date
Msg-id 22559.1087578289@sss.pgh.pa.us
Whole thread Raw
In response to Variadic functions in plpgsql?  ("Florian G. Pflug" <fgp@phlo.org>)
List pgsql-general
"Florian G. Pflug" <fgp@phlo.org> writes:
> I faintly remember that I once stumbled upon a way to declare variadic
> functions (functions that take a variable number of arguments) in plpgsql -
> but I just searched the docs and can't find any reference to variadic
> functions.

Nope.  You can sort of kluge around this at the C level (by making
multiple pg_proc entries pointing at the same C function), but there's
no such capability in any PL language.

            regards, tom lane

pgsql-general by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: [OT] Dilemma about OS <-> Postgres interaction
Next
From: Robert Fitzpatrick
Date:
Subject: Trigger to update records out of memory