pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Vadim Nasardinov <vadimn@redhat.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Java's set of timezone names
Date: Wed, 20 Jul 2005 15:42:45 -0400
Message-ID: <EC194DA2-0AB4-45CA-B4D1-29671FEFFAB4@fastcrypt.com> (raw)
In-Reply-To: <200507201510.28661@vadim.nasardinov>
References: <90876a9e05071810503606d431@mail.gmail.com>
	<24445.1121884188@sss.pgh.pa.us>
	<FDABE0AB-7954-453A-88ED-1F739CCED303@fastcrypt.com>
	<200507201510.28661@vadim.nasardinov>

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
>
>




view thread (8+ messages)  latest in thread

Message-ID: <EC194DA2-0AB4-45CA-B4D1-29671FEFFAB4@fastcrypt.com>
Permalink:  ../EC194DA2-0AB4-45CA-B4D1-29671FEFFAB4@fastcrypt.com/
Also on:    postgresql.org/message-id/EC194DA2-0AB4-45CA-B4D1-29671FEFFAB4@fastcrypt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pg@fastcrypt.com, vadimn@redhat.com
  Subject: Re: Java's set of timezone names
  In-Reply-To: <EC194DA2-0AB4-45CA-B4D1-29671FEFFAB4@fastcrypt.com>
  References: <90876a9e05071810503606d431@mail.gmail.com> <24445.1121884188@sss.pgh.pa.us> <FDABE0AB-7954-453A-88ED-1F739CCED303@fastcrypt.com> <200507201510.28661@vadim.nasardinov> <EC194DA2-0AB4-45CA-B4D1-29671FEFFAB4@fastcrypt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox