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 09EA8529FA for ; Wed, 20 Jul 2005 16:22: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 44928-04 for ; Wed, 20 Jul 2005 19:22:20 +0000 (GMT) Received: from hogranch.com (hogranch.com [66.117.128.240]) by svr1.postgresql.org (Postfix) with ESMTP id 7D46F529BB for ; Wed, 20 Jul 2005 16:22:16 -0300 (ADT) Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id j6KJLqs29296; Wed, 20 Jul 2005 12:21:52 -0700 Message-ID: <42DEA450.5070606@hogranch.com> Date: Wed, 20 Jul 2005 12:21:52 -0700 From: John R Pierce User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Cramer Cc: Christian Cryder , Tom Lane , Kris Jurka , Oliver Jowett , pgsql-jdbc@postgresql.org Subject: Re: Timestamp Conversion Woes Redux References: <90876a9e05071810503606d431@mail.gmail.com> <42DCF0C9.4030501@opencloud.com> <23396.1121781259@sss.pgh.pa.us> <392278AB-987F-40CF-B59D-DDF53B9A4ACF@fastcrypt.com> <90876a9e050719093261c52c64@mail.gmail.com> <42DDF238.8090601@opencloud.com> <24020.1121881295@sss.pgh.pa.us> <90876a9e05072010475d161b94@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200507/193 X-Sequence-Number: 13341 Dave Cramer wrote: > Actually, > > Java has timezones that postgres doesn't understand, which is > why using the server timezone makes more sense. > > Hopefully java understands all the timezones postgres understands. as we discovered the hard way, named timezones are a BAD IDEA. We had some stuff in java + jdbc + postgres that used a timezone, when it was brought up in Singapore, their local timezone memnonic wasn't recognized by postgres, and when it was brought up in China, CST was misinterpretted as Central Standard Time rather than China Standard Time (about 12 hours off)