Re: How to create function with unspecified number of input parameters ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: MindTerm <mindterm(at)yahoo(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: How to create function with unspecified number of input parameters ?
Date: 2001-11-25 05:38:01
Message-ID: 2961.1006666681@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Is this a TODO item?

Dunno. I certainly wouldn't be in favor of unspecified arguments
(like ANSI C's "..." construct), because it'd totally destroy our
datatype resolution mechanism. Optional arguments might work, but
it needs some careful thought.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Andrew G. Hammond 2001-11-25 10:06:17 Re: Automaticly delete related data
Previous Message Bruce Momjian 2001-11-25 05:29:05 Re: How to create function with unspecified number of input parameters