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 C7A0E52AB8 for ; Wed, 20 Jul 2005 17:56:50 -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 64264-01 for ; Wed, 20 Jul 2005 20:56: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 4D64B52A8A for ; Wed, 20 Jul 2005 17:56:41 -0300 (ADT) Received: (qmail 30827 invoked from network); 20 Jul 2005 20:56:43 -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 20:56:43 -0000 In-Reply-To: <90876a9e05072013444dc524ad@mail.gmail.com> References: <90876a9e05071810503606d431@mail.gmail.com> <42DDF238.8090601@opencloud.com> <24020.1121881295@sss.pgh.pa.us> <90876a9e05072010475d161b94@mail.gmail.com> <42DEA450.5070606@hogranch.com> <083AF7E3-A6DC-4BF1-BA72-B1B80537FB1E@fastcrypt.com> <90876a9e05072013444dc524ad@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3AD13B6B-08B7-4B6C-9346-08AF48F68E49@fastcrypt.com> Cc: Kris Jurka , John R Pierce , Tom Lane , Oliver Jowett , pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Timestamp Conversion Woes Redux Date: Wed, 20 Jul 2005 16:56:42 -0400 To: Christian Cryder 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/201 X-Sequence-Number: 13349 On 20-Jul-05, at 4:44 PM, Christian Cryder wrote: > On 7/20/05, Dave Cramer wrote: > >> I think using the same time zone as the server is the only way to go: >> > > How does this prevent the DST munging issue, where a zoneless time > (eg. 04-03-2005 1:22 AM) is read from the DB and then re-written? What > is to keep it being from being rewritten as 2:22 AM? We still have the crossover to deal with > > >> Kris has proposed a patch which would set the servers time zone to >> the JVM when the connection is started >> > > What happens when someone writes a client server app, and one client > connects from timezone A, and another client connects from timezone B, > and the server itself is running in timezone C? > Setting the servers time zone only sets the time zone for that client. > Christian > > ---------------------------(end of > broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > >