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 7127E5293B for ; Wed, 20 Jul 2005 17:45:25 -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 60509-06 for ; Wed, 20 Jul 2005 20:45:15 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by svr1.postgresql.org (Postfix) with ESMTP id 3F31C52808 for ; Wed, 20 Jul 2005 17:45:15 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id i21so1550428wra for ; Wed, 20 Jul 2005 13:45:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OTAGVAe4Z9raHR4rZwkn0x5+2O9A33sTurLIlf9P8KsE+sEJvUpwhkrUgEI/SQaYBwdtqimKd7ObWLQ+JwlyrgADoxqDYGz2D00eA0UdhuMYDNMH9W0mXnL/6YejgAbaCyLZFsRjtSlqCf+9GpRNgnOgWOgfR0e9GLDeb9dDFDo= Received: by 10.54.141.18 with SMTP id o18mr238879wrd; Wed, 20 Jul 2005 13:44:37 -0700 (PDT) Received: by 10.54.86.16 with HTTP; Wed, 20 Jul 2005 13:44:37 -0700 (PDT) Message-ID: <90876a9e05072013444dc524ad@mail.gmail.com> Date: Wed, 20 Jul 2005 14:44:37 -0600 From: Christian Cryder Reply-To: Christian Cryder To: Dave Cramer Subject: Re: Timestamp Conversion Woes Redux Cc: Kris Jurka , John R Pierce , Tom Lane , Oliver Jowett , pgsql-jdbc@postgresql.org In-Reply-To: <083AF7E3-A6DC-4BF1-BA72-B1B80537FB1E@fastcrypt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.083 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200507/199 X-Sequence-Number: 13347 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? > 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? Christian