Re: How to create function with unspecified number of input

From: "Aasmund Midttun Godal" <postgresql(at)envisity(dot)com>
To: mindterm(at)yahoo(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to create function with unspecified number of input
Date: 2001-11-25 19:39:40
Message-ID: 20011125193940.27682.qmail@ns.krot.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Perhaps you could pass an array into it instead?

Regards,

Aasmund.

On Sat, 24 Nov 2001 20:25:21 -0800 (PST), MindTerm <mindterm(at)yahoo(dot)com> wrote:
> Dear all,
>
> I am writing to ask how to create function ( CREATE
> FUNCTION ) with unspecified number of input parameters
> ? e.g. I like to create a function similar to the
> structure of COALESCE :
>
> COALESCE( ... , [..] )
>
> M.T.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

Aasmund Midttun Godal

aasmund(at)godal(dot)com - http://www.godal.com/
+47 40 45 20 46

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Aasmund Midttun Godal 2001-11-26 00:30:02 Permissions on views bug.
Previous Message Andrew G. Hammond 2001-11-25 10:06:17 Re: Automaticly delete related data