X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id A08FFD1B50F for ; Fri, 3 Oct 2003 12:12:32 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 30000-05 for ; Fri, 3 Oct 2003 09:11:45 -0300 (ADT) Received: from localhost.localdomain (unknown [65.217.53.66]) by svr1.postgresql.org (Postfix) with ESMTP id 6638ED1B552 for ; Fri, 3 Oct 2003 09:11:42 -0300 (ADT) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h93B6Rqd009910; Fri, 3 Oct 2003 07:06:27 -0400 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h93CB9Z27674; Fri, 3 Oct 2003 08:11:16 -0400 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id TD8AVLCD; Fri, 3 Oct 2003 08:11:08 -0400 Subject: Re: Stored procedures From: Robert Treat To: Yolanda Phillips Cc: "\"'Pgsql-Jdbc@Postgresql. \"Org'" In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 03 Oct 2003 08:11:09 -0400 Message-Id: <1065183069.24288.53.camel@camel> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/25 X-Sequence-Number: 8455 Yes, this is correct. You can increase the limit by recompiling, though there a believed to be some performance issues associated with choosing a limit higher than 32. search the mail archives for the specifics of where you need to do this in the code. Robert Treat On Fri, 2003-10-03 at 01:47, Yolanda Phillips wrote: > Good day, > > I need help URGENTLY!! > > I'm trying to compile a Stored Function that performs either an insert > or an > update on a table. The function has 44 input parameters and returns an > integer. When compiling the function a get an error: > > ERROR: functions cannot have more than 32 arguments > > I would just like someone to confirm this. Can a function only have 32 > input > parameters? If so, I'd have to use Prepared Statements then. > > Thank you in advance. > > > > Sincerely, > > > Yolanda Phillips > Web Applications Developer > > > > ---- > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) -- Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL