Re: Increasing MAX_ARGS

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Increasing MAX_ARGS
Date: 2001-11-07 02:11:35
Message-ID: 200111070211.fA72BZ914428@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> Tom,
>
> > src/include.
> >
> > If you haven't run configure yet, do that first.
>
> OK.
> 1. I modified /src/include/config.h.in
> 2. I configured postgres. Config.h correctly shows MAX_ARGS at 32.
> 3. I built postgres
> 4. I initdb'd.
>
> As a test, I tried building a function with 20 parameters in Template1.
> I got:
>
> "ERROR: Procedures cannot take more than 16 arguments."
>
> What's going on here? Is there a check for the number of arguments
> outside of the compile configuration?

That should work. The strange part is that I can't find that error
message anywhere in the sources.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message wyatt 2001-11-07 02:12:03 Single VIEW, and FUNCTION questions...
Previous Message Bruce Momjian 2001-11-07 01:47:16 Re: Can't find docs on Postgresql.conf