X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id 95E91D1C4CA for ; Mon, 21 Jul 2003 11:42:52 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 05932-05 for ; Mon, 21 Jul 2003 11:42:50 +0000 (GMT) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by svr1.postgresql.org (Postfix) with ESMTP id 68420D1C4C8 for ; Mon, 21 Jul 2003 08:42:50 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 19eZ48-0006GO-0U; Mon, 21 Jul 2003 12:42:53 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id BE49D1786A; Mon, 21 Jul 2003 12:42:51 +0100 (BST) Received: from client.archonet.com (client.archonet.com [192.168.1.16]) by mainbox.archonet.com (Postfix) with ESMTP id 1FACA1785A; Mon, 21 Jul 2003 12:42:51 +0100 (BST) From: Richard Huxton To: "vijaykumar M" , pgsql-sql@postgresql.org Subject: Re: Why their is a limit in Postgresql (psql) Parameters..? Date: Mon, 21 Jul 2003 12:42:49 +0100 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307211242.49263.richardh@archonet.com> X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/304 X-Sequence-Number: 14418 On Monday 21 July 2003 11:29, vijaykumar M wrote: > Hi All, > > I'm using Postgresql v7.3.3. I have a small question ... > > Why is that there is a maximum limit of 32 input parameters to the > Postgresql function? > Whereas stored procedures in Oracle and SQL Server > take more than 32 input arguments. So this puts extra burden on the > middleware developer to handle this stiuation at the time of migrating > existing databases in SQL Server or Oracle to Postgresql. It used to be 16 and was increased to 32 fairly recently (hmm - 7.3.0 according to the release notes). People used to tweak and recompile the source to increase from 16, so I suppose you could still do the same. Have a look in the mailing list archives, I seem to remember messages on this in the past. The reason why it's not bigger is that there hasn't been enough people saying "I need more parameters". -- Richard Huxton Archonet Ltd