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 0913D529A6 for ; Fri, 1 Jul 2005 11:26:15 -0300 (ADT) 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 14673-01 for ; Fri, 1 Jul 2005 14:26:09 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id E2C4052A37 for ; Fri, 1 Jul 2005 11:26:06 -0300 (ADT) Received: (qmail 16551 invoked from network); 1 Jul 2005 14:24:11 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (64.7.143.116) by net2.micro-automation.com with SMTP; 1 Jul 2005 14:24:11 -0000 In-Reply-To: <42C494A9.4000505@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> <42C494A9.4000505@opencloud.com> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3ADF450B-A7D4-4817-81F3-F0151C9C46DB@fastcrypt.com> Cc: List Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: jdbc cts final diff for review Date: Fri, 1 Jul 2005 10:26:09 -0400 To: Oliver Jowett X-Mailer: Apple Mail (2.730) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.017 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/7 X-Sequence-Number: 13155 On 30-Jun-05, at 8:56 PM, Oliver Jowett wrote: > Dave Cramer wrote: > >> Did you read my reasons for the ugly if double, then float stuff ? >> > > Haven't had time to get my head around that yet.. can you translate it > to an explanation of something in the JDBC spec that we don't do > correctly? It's a bit hard to understand what's going wrong without > the > CTS code to hand.. If you consider that Oracle doesn't have a FLOAT4 type this is a non- issue for them they will always convert a FLOAT8 to a java float if that is what is registered, and they will never have an issue storing a large integer into a FLOAT type. Not that "Oracle doesn't do it" is a good argument, but I would imagine they were instrumental in the creation of the test suite. FWIW, the spec, and the CTS aren't always in agreement. I have pointed out the issues to them, and finally gave up, the CTS is the defacto standard, regardless of it's short comings I'll try to dig around for the actual tests that failed later > > >> 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 >> > > Well, let's add the complexity only when we need it.. I still want to push this in the way it is and we can hack on it until 8.1 goes out > > >>> 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 >> > > I'll hack on it if I have time after this is all applied; don't worry > about it for now since it's already in HEAD. > > >>> Why the repackaging? >>> >> >> can't remember now. >> > > Can you avoid repackaging then? Less CVS churn.. Absolutely > > -O > > ---------------------------(end of > broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that > your > message can get through to the mailing list cleanly > >