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 9D33052B0E for ; Tue, 19 Jul 2005 23:02:25 -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 30035-09 for ; Wed, 20 Jul 2005 02:02:24 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 7BC1852B0C for ; Tue, 19 Jul 2005 23:02:23 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Dv3uj-0002Bv-93; Wed, 20 Jul 2005 14:02:25 +1200 Message-ID: <42DDB0B0.1020006@opencloud.com> Date: Wed, 20 Jul 2005 14:02:24 +1200 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Cramer Cc: Christian Cryder , pgsql-jdbc@postgresql.org 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> In-Reply-To: <15EA293E-6D5D-4FD2-B498-6546113822C1@fastcrypt.com> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 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/162 X-Sequence-Number: 13310 Dave Cramer wrote: > Christian suggested this: > > However I think this too opaque. Why do you think this? There's no timezone information associated with a Timestamp, so it seems like the logical mapping: if you provide a timezone via Calendar, it's a timestamp-with-timezone; otherwise, it's a timestamp-without-timezone. > Not to mention the fact that it changes the > current behaviour. Err, given that the current behaviour is broken, is this a problem? Every time I've looked at the timestamp code I've gone "ow, that has to be broken" but never got around to investigating further .. IMO, this is an area that the driver just gets *wrong* and we should be fixing it so it works, not trying to support applications that expect the wrong behaviour! -O