Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2CFE71337BA6 for ; Thu, 24 Feb 2011 18:35:28 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 90322-04 for ; Thu, 24 Feb 2011 22:35:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 758AD133798E for ; Thu, 24 Feb 2011 18:35:20 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p1OMZIeg029566; Thu, 24 Feb 2011 17:35:18 -0500 (EST) To: "Kevin Grittner" cc: JB@BlackSkyTech.com, pgsql-bugs@postgresql.org Subject: Re: LOCALTIMESTAMP has wrong time zone In-reply-to: <4D6681F1020000250003AFED@gw.wicourts.gov> References: <000001cbd468$124cc720$36e65560$@com> <4D6681F1020000250003AFED@gw.wicourts.gov> Comments: In-reply-to "Kevin Grittner" message dated "Thu, 24 Feb 2011 16:06:09 -0600" Date: Thu, 24 Feb 2011 17:35:18 -0500 Message-ID: <29565.1298586918@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/209 X-Sequence-Number: 29481 "Kevin Grittner" writes: > "Jonathan Brinkman" wrote: >> My default timestamps in my database all are +5 hours in the future > Can you copy paste actual statements and results? In particular, let's see the result of these commands in psql: show timezone; select now(); select localtimestamp; What it sounds like to me is an incorrect default setting of "timezone" but it's hard to be sure with no concrete data. regards, tom lane