Re: 16 parameter limit

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, John Proctor <jproctor(at)prium(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: 16 parameter limit
Date: 2002-04-05 16:30:08
Message-ID: web-1050295@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches 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 you
need to increase the *default* number of parameters. Postgres just
needs to implement a parameter number change as part of a documented
command-line compile-time option, i.e. "--with-parameters=32".
Currently, increasing the number of parameters requires altering the
C config files before compilation, a rather user-hostile process.

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

Also, what is the practical maximum number of parameters?

-Josh Berkus

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-04-05 16:32:35 Re: PQescapeBytea is not multibyte aware
Previous Message Tom Lane 2002-04-05 16:19:04 Re: timeout implementation issues

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-04-05 16:32:35 Re: PQescapeBytea is not multibyte aware
Previous Message Joe Conway 2002-04-05 16:16:01 Re: PQescapeBytea is not multibyte aware

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2002-04-05 16:46:29 Re: 16 parameter limit
Previous Message Tom Lane 2002-04-05 15:42:18 Re: Rule trouble (looks to me exactly like the example)