Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fA72C2m48555 for ; Tue, 6 Nov 2001 21:12:02 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id fA72BZ914428; Tue, 6 Nov 2001 21:11:35 -0500 (EST) From: Bruce Momjian Message-Id: <200111070211.fA72BZ914428@candle.pha.pa.us> Subject: Re: Increasing MAX_ARGS In-Reply-To: "from Josh Berkus at Nov 6, 2001 05:34:58 pm" To: Josh Berkus Date: Tue, 6 Nov 2001 21:11:35 -0500 (EST) CC: Tom Lane , pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200111/90 X-Sequence-Number: 5474 > 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, Pennsylvania 19026