Re: Variadic functions in plpgsql?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Variadic functions in plpgsql?
Date: 2004-06-18 17:04:49
Message-ID: 22559.1087578289@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Florian G. Pflug" <fgp(at)phlo(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Hallgren 2004-06-18 17:11:03 Re: [OT] Dilemma about OS <-> Postgres interaction
Previous Message Duane Lee - EGOVX 2004-06-18 16:48:50 Re: virtual fields on VIEW?