pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Kris Jurka <books@ejurka.com>
Cc: Andres Olarte <olarte.andres@gmail.com>
Cc: Thomas Frieling <frieling@8hertz.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: CallableStatements: index starts at 2
Date: Thu, 15 Dec 2005 17:19:43 -0500
Message-ID: <329C4ADF-A66F-41D0-A9E4-94F198457388@fastcrypt.com> (raw)
In-Reply-To: <Pine.BSO.4.61.0512151706510.17948@leary.csoft.net>
References: <439FFA76.1070706@8hertz.de>
	<3fccaa690512140838o464dd369y4194a05c4f28d553@mail.gmail.com>
	<C28DF2D1-AD42-47E3-9324-35E2F7014019@fastcrypt.com>
	<Pine.BSO.4.61.0512151706510.17948@leary.csoft.net>

Well, I was waiting for exactly this report before backpatching  
anything.

Dave
On 15-Dec-05, at 5:13 PM, Kris Jurka wrote:

>
>
> On Wed, 14 Dec 2005, Dave Cramer wrote:
>
>> I just checked in a fix for this. It hasn't been well tested on  
>> all the various servers so please report problems back to me.
>
> This fix only works on JDK1.4 builds.  It doesn't work on 1.2, 1.3,  
> or 1.5 because you've only modified Jdbc3CallableStatement.  This  
> also indicates the fragility of the adjustIndex parameter.   
> Unfortunately we can't create an AbstractJdbc2CallableStatement  
> because we'd need multiple inheritance for Jdbc3CallableStatement  
> to extend both AbstractJdbc3Statement and AbstractJdbc[2|3] 
> CallableStatement.
>
> Also your test case using the function getVoid does not work  
> against 7.2 servers because the void pseudotype was added in 7.3.   
> The void type doesn't seem to be important for testing.  You should  
> be able to call a function returing anything and ignore the result.
>
> Kris Jurka
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faq
>




view thread (7+ messages)  latest in thread

Message-ID: <329C4ADF-A66F-41D0-A9E4-94F198457388@fastcrypt.com>
Permalink:  ../329C4ADF-A66F-41D0-A9E4-94F198457388@fastcrypt.com/
Also on:    postgresql.org/message-id/329C4ADF-A66F-41D0-A9E4-94F198457388@fastcrypt.com

 · 

reply

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: pg@fastcrypt.com, books@ejurka.com, olarte.andres@gmail.com, frieling@8hertz.de
  Subject: Re: CallableStatements: index starts at 2
  In-Reply-To: <329C4ADF-A66F-41D0-A9E4-94F198457388@fastcrypt.com>
  References: <439FFA76.1070706@8hertz.de> <3fccaa690512140838o464dd369y4194a05c4f28d553@mail.gmail.com> <C28DF2D1-AD42-47E3-9324-35E2F7014019@fastcrypt.com> <Pine.BSO.4.61.0512151706510.17948@leary.csoft.net> <329C4ADF-A66F-41D0-A9E4-94F198457388@fastcrypt.com>

* 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