Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 039146506D3 for ; Wed, 9 Jul 2008 01:51:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 55032-01-7 for ; Wed, 9 Jul 2008 01:50:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www01.kensystem.com (www01.kensystem.com [72.19.170.120]) by postgresql.org (Postfix) with ESMTP id 71DBB650790 for ; Wed, 9 Jul 2008 01:36:49 -0300 (ADT) Received: from 192.168.0.3 by www01.kensystem.com (SMTPD); id s20080709043646.248451; Wed, 09 Jul 2008 04:36:46 Message-ID: <4874405E.6030608@kensystem.com> Date: Tue, 08 Jul 2008 22:36:46 -0600 From: Ken Johanson User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 To: Oliver Jowett CC: pgsql-jdbc@postgresql.org Subject: Re: Timestamp without Timezone and differing client / server tzs References: <4873154E.6020808@kensystem.com> <4873201F.1000700@opencloud.com> <487439D8.2050508@kensystem.com> <48743B53.4000002@opencloud.com> In-Reply-To: <48743B53.4000002@opencloud.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/17 X-Sequence-Number: 18802 Oliver Jowett wrote: > Ken Johanson wrote: > >> So, short of passing a calendar to setTimezone, there is no other way >> to indicate to the driver that zone-less date/time type values should >> be translated to the server's different timezone, is this correct? > > You could change the client JVM's default timezone I suppose. > > I still don't understand exactly what you are trying to do, though. > To be sure, is the intent of the server's timezone = UTC config parameter, not to provide a hint to the clients about which implicit timezone it treats zone-less strings as? I have not dug in but am speculating that in the protocol some indication of implicit tz may be provided. Then again it may have no such intent at the client/connection level and only be used for database date/time functions calculated against storage(?). k