pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: MindTerm <mindterm@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to create function with unspecified number of input parameters ?
Date: Sun, 25 Nov 2001 00:38:01 -0500
Message-ID: <2961.1006666681@sss.pgh.pa.us> (raw)
In-Reply-To: <200111250529.fAP5T6G00259@candle.pha.pa.us>
References: <200111250529.fAP5T6G00259@candle.pha.pa.us>

Bruce Momjian <pgman@candle.pha.pa.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



view thread (5+ messages)  latest in thread

Message-ID: <2961.1006666681@sss.pgh.pa.us>
Permalink:  ../2961.1006666681@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2961.1006666681@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, mindterm@yahoo.com
  Subject: Re: How to create function with unspecified number of input parameters ?
  In-Reply-To: <2961.1006666681@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox