From: Kris Jurka <books@ejurka.com>
To: Antonini Roberto <Roberto.Antonini@TILAB.COM>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: function parameters
Date: Mon, 13 Sep 2004 02:37:34 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0409130233570.2396@leary.csoft.net> (raw)
In-Reply-To: <95F2F6B57A08F94FBAEE314B62B4CB1A0577A0@EXC01B.cselt.it>
References: <95F2F6B57A08F94FBAEE314B62B4CB1A0577A0@EXC01B.cselt.it>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, Roberto.Antonini@TILAB.COM
Subject: Re: function parameters
In-Reply-To: <Pine.BSO.4.56.0409130233570.2396@leary.csoft.net>
References: <95F2F6B57A08F94FBAEE314B62B4CB1A0577A0@EXC01B.cselt.it> <Pine.BSO.4.56.0409130233570.2396@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox