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 C8CFE3CC1E8 for ; Sat, 18 Dec 2004 07:51:28 +0000 (GMT) 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 70770-10 for ; Sat, 18 Dec 2004 07:51:17 +0000 (GMT) Received: from hogranch.com (hogranch.com [66.117.128.240]) by svr1.postgresql.org (Postfix) with ESMTP id 68AA93CC5CD for ; Sat, 18 Dec 2004 07:51:17 +0000 (GMT) Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id iBI7pBV30984 for ; Fri, 17 Dec 2004 23:51:11 -0800 Message-ID: <41C3E16F.1050403@hogranch.com> Date: Fri, 17 Dec 2004 23:51:11 -0800 From: John R Pierce User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Bug in JDBC-Driver? References: <6D48B8403D926449BDE8440EC7EEC46D021F2026@max.ppinet.de> <28459.1103350891@sss.pgh.pa.us> In-Reply-To: <28459.1103350891@sss.pgh.pa.us> 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: 200412/141 X-Sequence-Number: 11807 > The really serious problem with this is the assumption that the server > has the same set of available timezones (and spellings of same) as the > client does. timezones seriously suck. China uses CST. So does North America. How you gonna resolve THAT ? The proper solution is to use "ISO" time with -07 / +08 kinda timezones if you need to get data in/out of timestampz fields.... Java can do this just by specifying the right option when you convert a calendar time to a string.