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 89B62529FA for ; Wed, 20 Jul 2005 16:42:51 -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 49479-03 for ; Wed, 20 Jul 2005 19:42:46 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id E4B8F529BB for ; Wed, 20 Jul 2005 16:42:45 -0300 (ADT) Received: (qmail 30074 invoked from network); 20 Jul 2005 19:42:46 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 20 Jul 2005 19:42:46 -0000 In-Reply-To: <200507201510.28661@vadim.nasardinov> References: <90876a9e05071810503606d431@mail.gmail.com> <24445.1121884188@sss.pgh.pa.us> <200507201510.28661@vadim.nasardinov> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Java's set of timezone names Date: Wed, 20 Jul 2005 15:42:45 -0400 To: Vadim Nasardinov X-Mailer: Apple Mail (2.733) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.016 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/195 X-Sequence-Number: 13343 Vadim, Actually you are correct, it is America/Montreal and now that I switched it back it actually has useDaylight=true... very strange. I think as John pointed out though there are some issues with using named TimeZones. Is there a way to get the servers timezone info from the server ? Dave On 20-Jul-05, at 3:10 PM, Vadim Nasardinov wrote: > On Wednesday 20 July 2005 14:57, Dave Cramer wrote: > >> On my Mac my java timezone was set to Canada/Montreal which was >> broken (did not use DST ) and the server certainly doesn't >> understand it. >> > > Out of curiosity, do you remember which JDK had this timezone? > Sun's JDK on Linux doesn't have it: > > | $ find /usr/local/j2sdk1.4.2_08/jre/lib/zi/ -name Montreal > | /usr/local/j2sdk1.4.2_08/jre/lib/zi/America/Montreal > > It only has America/Montreal, which PostgreSQL should grok just fine, > AFAICT: > > | $ find /usr/share/zoneinfo/ -name Montreal > | /usr/share/zoneinfo/right/America/Montreal > | /usr/share/zoneinfo/posix/America/Montreal > | /usr/share/zoneinfo/America/Montreal > > ---------------------------(end of > broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > >