Re: Functions with more than 32 parameters

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: David Fetter <david(at)fetter(dot)org>
Cc: Oisin Glynn <me(at)oisinglynn(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Functions with more than 32 parameters
Date: 2005-02-10 21:52:45
Message-ID: 20050210215245.GB72513@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Feb 10, 2005 at 10:07:50AM -0800, David Fetter wrote:
>
> Short of recompiling as others have suggested, you could put large #
> of params into an array and have the function unwind that.

In 8.0 or later, you could also use a function that takes a single
parameter of a composite type and use a row constructor when you
call it.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-02-10 22:19:41 Re: Understanding EXPLAIN ANALYZE output
Previous Message Michael Fuhr 2005-02-10 21:37:02 Re: Python Interface