Re: 16 parameter limit - Mailing list pgsql-sql

From Josh Berkus
Subject Re: 16 parameter limit
Date
Msg-id web-1050295@davinci.ethosmedia.com
Whole thread Raw
In response to Re: 16 parameter limit  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: 16 parameter limit  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Bruce,

> Actually, I said it didn't come up much, but I know of several heavy
> PL/pgSQL users who do have trouble with the 16 parameter limit, and I
>  am
> looking into increasing it.  If someone wants to do some legwork, go
> ahead.  I do think it needs to be increases.  The lack of complains
> makes it hard for me to advocate increasing it, especially if there
>  is a
> disk space penalty, but personally, I do think it needs increasing.

Personally, as a heavy user of PL/pgSQL procedures, I'm not sure youneed to increase the *default* number of
parameters. Postgres justneeds to implement a parameter number change as part of a documentedcommand-line compile-time
option,i.e. "--with-parameters=32". Currently, increasing the number of parameters requires altering theC config files
beforecompilation, a rather user-hostile process.  
 

I've raised this point 3 or 4 times on this list now, and have not seena respons from you or Thomas on this suggestion.
 If I had theskills, I'd do it myself and upload the changes, but C is not mystrong suit.
 

Also, what is the practical maximum number of parameters?

-Josh Berkus


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Rule trouble (looks to me exactly like the example)
Next
From: "Josh Berkus"
Date:
Subject: Re: 16 parameter limit