pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: jdbc cts final diff for review
Date: Thu, 30 Jun 2005 20:51:02 -0400
Message-ID: <EF9A0F2D-4331-47B5-B467-053F96BC6319@fastcrypt.com> (raw)
In-Reply-To: <42C4889D.4050105@opencloud.com>
References: <688EEEFD-78B1-4C09-8CE8-E17520725AA2@fastcrypt.com>
	<42C29F6D.4060001@opencloud.com>
	<1F04D083-97E3-4C00-8806-B107991AE27E@fastcrypt.com>
	<42C31F86.8050205@opencloud.com>
	<82606823-092A-4BFE-89C4-8ADCA730AC70@fastcrypt.com>
	<42C4889D.4050105@opencloud.com>

Did you read my reasons for the ugly if double, then float stuff ?

On 30-Jun-05, at 8:04 PM, Oliver Jowett wrote:

> Dave Cramer wrote:
>
>
>> I've changed direction to an array
>>
>
> Ok. What did you think about removing it entirely from the  
> parameterlist
> level? It just seems like extra complexity that doesn't need to be  
> there..

I think it can be removed, however I think sooner than later we will  
be dealing
with more complex parameters when stored procedures with real IN/OUT  
parms
>
>
>> regarding the jdbc3 type conversion in registerOutParameter, an
>> existing conversion (BIT to BOOLEAN) was there, do all of them  
>> need  to
>> be in jdbc2 ?
>>
>
> BOOLEAN is only defined in JDBC3, so that conversion needs to be in  
> the
> JDBC3 code or the driver won't build under JDBC2.
>
> All the others should be in JDBC2 code.
>
Done
>
>>>>> You seem to have reverted your earlier changes and put back the
>>>>> types/* classes -- why?
>>>>>
>>>>>
>>>>
>>>> huh ? they should be in there in HEAD, I did remove the  
>>>> creation  of an
>>>> object, and went to static methods
>>>>
>>>>
>> I moved them from to core/types, but they have always been there
>>
>
> Oh, ok, your patch didn't show those renames. I also thought you'd
> removed the types/ stuff earlier, guess I misread your commit :/
>
> I still think they are redundant and should be entirely removed. We  
> can
> do that afterwards though.

If absolutely necessary, however I don't think setObject with a  
different type is
in the critical path
>
> Why the repackaging?

can't remember now.
>
> -O
>
>




view thread (10+ messages)  latest in thread

Message-ID: <EF9A0F2D-4331-47B5-B467-053F96BC6319@fastcrypt.com>
Permalink:  ../EF9A0F2D-4331-47B5-B467-053F96BC6319@fastcrypt.com/
Also on:    postgresql.org/message-id/EF9A0F2D-4331-47B5-B467-053F96BC6319@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, oliver@opencloud.com
  Subject: Re: jdbc cts final diff for review
  In-Reply-To: <EF9A0F2D-4331-47B5-B467-053F96BC6319@fastcrypt.com>
  References: <688EEEFD-78B1-4C09-8CE8-E17520725AA2@fastcrypt.com> <42C29F6D.4060001@opencloud.com> <1F04D083-97E3-4C00-8806-B107991AE27E@fastcrypt.com> <42C31F86.8050205@opencloud.com> <82606823-092A-4BFE-89C4-8ADCA730AC70@fastcrypt.com> <42C4889D.4050105@opencloud.com> <EF9A0F2D-4331-47B5-B467-053F96BC6319@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