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 B6228528C6 for ; Wed, 20 Jul 2005 09:26:17 -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 59346-05 for ; Wed, 20 Jul 2005 12:26:14 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 1037252883 for ; Wed, 20 Jul 2005 09:26:11 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.21]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DvDeQ-0006y0-H7; Thu, 21 Jul 2005 00:26:14 +1200 Message-ID: <42DE42E5.6010206@opencloud.com> Date: Wed, 20 Jul 2005 12:26:13 +0000 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Cramer Cc: List , Christian Cryder Subject: Re: Timestamp Conversion Woes Redux References: <90876a9e05071810503606d431@mail.gmail.com> <16335.1121714809@sss.pgh.pa.us> <10C90079-DD0A-43D7-9389-7486803F0AB1@fastcrypt.com> <42DC37AC.5030704@opencloud.com> <42DCF0C9.4030501@opencloud.com> <23396.1121781259@sss.pgh.pa.us> <392278AB-987F-40CF-B59D-DDF53B9A4ACF@fastcrypt.com> <90876a9e050719093261c52c64@mail.gmail.com> <42DDABAE.7050009@opencloud.com> <15EA293E-6D5D-4FD2-B498-6546113822C1@fastcrypt.com> <42DDB0B0.1020006@opencloud.com> <468CE7D4-3BFC-48D8-BC94-3AA73950EBED@fastcrypt.com> <42DDBE3B.5040801@opencloud.com> <6E6559F0-401F-47E8-A756-245C5B0813A7@fastcrypt.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/170 X-Sequence-Number: 13318 Dave Cramer wrote: > Thinking some more.... > > It would appear that the setTimestamp is intended to do one or the > other, but not both. > > either you have timezone information or you don't. I think this > effectively revokes your license to > interpret the spec as you suggested below. > > Further the JDBCCTS doesn't take have any facility for both scenarios, > you can choose the timestamp > type that you want it to pass with (assuming you have a choice). Ok, so this sounds like JDBC doesn't distinguish with-timezone and without-timezone at all so trying to base the semantics on the spec is hopeless; we should just pick something that's sensible and do that. I still think my suggestion of using the two setTimestamp methods to support the two types makes sense -- but I'm out of time to deal with this, sorry. -O