X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5A2FD329DFC for ; Mon, 13 Sep 2004 10:20:01 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 08547-04 for ; Mon, 13 Sep 2004 09:19:55 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id BBD4A329DD0 for ; Mon, 13 Sep 2004 10:19:54 +0100 (BST) Received: (qmail 21488 invoked by uid 1112); 13 Sep 2004 07:37:34 -0000 Date: Mon, 13 Sep 2004 02:37:34 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Antonini Roberto Cc: pgsql-jdbc@postgresql.org Subject: Re: function parameters In-Reply-To: <95F2F6B57A08F94FBAEE314B62B4CB1A0577A0@EXC01B.cselt.it> Message-ID: References: <95F2F6B57A08F94FBAEE314B62B4CB1A0577A0@EXC01B.cselt.it> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/44 X-Sequence-Number: 10934 On Mon, 13 Sep 2004, Antonini Roberto wrote: > When I invoke DB-side function, I can't pass more than 16 parameters to > it. > > Is it a limit imposed by JDBC driver? > > If it's so, how can I override it? > This is a backend limitation, although the default was increased to 32 in the 7.3 release I believe. To raise this requires some manual hacking on config headers, try searching the archives for INDEX_MAX_KEYS. Another option is to use complex types or arrays to pass multiple inputs in the same parameter. Kris Jurka