Re: Increase stored proc. parameters max count

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: lnd(at)hnit(dot)is
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Increase stored proc. parameters max count
Date: 2004-01-27 16:56:43
Message-ID: 23253.1075222603@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<lnd(at)hnit(dot)is> writes:
> Is there any bad side effect in recompiling PG with increased stored
> procedures maximum parameters count, for example, to 128?

It'll be slower and the pg_proc table will get much larger (as will its
indexes). But you could do it.

In practice, I should think that procedures with more than a couple
dozen parameters are too unwieldy to be useful anyway --- how would you
ever get that many parameters listed correctly? You should think about
redesigning your data representation; perhaps arrays or composite types
would work better.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-01-27 17:27:31 Re: Recursive optimization of IN subqueries
Previous Message Tom Lane 2004-01-27 16:41:14 Re: Permission Problems:-)?