pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: Dave Cramer <davec@fastcrypt.com>
Cc: Christian Cryder <c.s.cryder@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kris Jurka <books@ejurka.com>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Timestamp Conversion Woes Redux
Date: Wed, 20 Jul 2005 12:21:52 -0700
Message-ID: <42DEA450.5070606@hogranch.com> (raw)
In-Reply-To: <B3BA4316-26FB-4C7B-BAE4-AAC2F9B6574C@fastcrypt.com>
References: <90876a9e05071810503606d431@mail.gmail.com>
	<42DCF0C9.4030501@opencloud.com>
	<23396.1121781259@sss.pgh.pa.us>
	<392278AB-987F-40CF-B59D-DDF53B9A4ACF@fastcrypt.com>
	<Pine.BSO.4.56.0507191100110.68@leary.csoft.net>
	<90876a9e050719093261c52c64@mail.gmail.com>
	<Pine.BSO.4.56.0507200109220.31980@leary.csoft.net>
	<42DDF238.8090601@opencloud.com>
	<Pine.BSO.4.56.0507201125190.5339@leary.csoft.net>
	<24020.1121881295@sss.pgh.pa.us>
	<90876a9e05072010475d161b94@mail.gmail.com>
	<B3BA4316-26FB-4C7B-BAE4-AAC2F9B6574C@fastcrypt.com>

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)




view thread (92+ messages)  latest in thread

Message-ID: <42DEA450.5070606@hogranch.com>
Permalink:  ../42DEA450.5070606@hogranch.com/
Also on:    postgresql.org/message-id/42DEA450.5070606@hogranch.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: pierce@hogranch.com, davec@fastcrypt.com, c.s.cryder@gmail.com, tgl@sss.pgh.pa.us, books@ejurka.com, oliver@opencloud.com
  Subject: Re: Timestamp Conversion Woes Redux
  In-Reply-To: <42DEA450.5070606@hogranch.com>
  References: <90876a9e05071810503606d431@mail.gmail.com> <42DCF0C9.4030501@opencloud.com> <23396.1121781259@sss.pgh.pa.us> <392278AB-987F-40CF-B59D-DDF53B9A4ACF@fastcrypt.com> <Pine.BSO.4.56.0507191100110.68@leary.csoft.net> <90876a9e050719093261c52c64@mail.gmail.com> <Pine.BSO.4.56.0507200109220.31980@leary.csoft.net> <42DDF238.8090601@opencloud.com> <Pine.BSO.4.56.0507201125190.5339@leary.csoft.net> <24020.1121881295@sss.pgh.pa.us> <90876a9e05072010475d161b94@mail.gmail.com> <B3BA4316-26FB-4C7B-BAE4-AAC2F9B6574C@fastcrypt.com> <42DEA450.5070606@hogranch.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