Re: Increasing MAX_ARGS - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: Increasing MAX_ARGS
Date
Msg-id 200111070211.fA72BZ914428@candle.pha.pa.us
Whole thread Raw
In response to Re: Increasing MAX_ARGS  ("Josh Berkus" <josh@agliodbs.com>)
List 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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-sql by date:

Previous
From: wyatt@draggoo.com
Date:
Subject: Single VIEW, and FUNCTION questions...
Next
From: Tom Lane
Date:
Subject: Re: Increasing MAX_ARGS