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 964CB52982 for ; Tue, 19 Jul 2005 13:06:42 -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 67017-02 for ; Tue, 19 Jul 2005 16:06:39 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id A8B7F528BE for ; Tue, 19 Jul 2005 13:06:37 -0300 (ADT) Received: (qmail 8492 invoked by uid 1112); 19 Jul 2005 16:06:36 -0000 Date: Tue, 19 Jul 2005 11:06:36 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Dave Cramer Cc: Tom Lane , Oliver Jowett , Christian Cryder , pgsql-jdbc@postgresql.org Subject: Re: Timestamp Conversion Woes Redux In-Reply-To: <392278AB-987F-40CF-B59D-DDF53B9A4ACF@fastcrypt.com> Message-ID: 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/141 X-Sequence-Number: 13289 On Tue, 19 Jul 2005, Dave Cramer wrote: > What about creating two extension classes > > PGTimestamp, and PGTimestamptz > > then allowing setObject to recognize these internally and bind to > Oid.Timestamp, and Oid.Timestamptz repectively > Who is going to really use these unportable things instead of standard Timestamps? People who are desperate to get their application to work around driver bugs? I don't believe timestamp/timestamptz is an intractable problem and in the previous discussion I recall suggesting setting the server time zone to match the client's would fix this problem. I also seem to recall a number of other timezone related issues. Let's focus on trying to fix what we've got before we go down this unportable route. I'll put together at test cases for the bugs I'm aware of tonight so we can focus this discussion on the real problems. Kris Jurka