X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A749D5E46FB for ; Thu, 26 Aug 2004 12:32:01 -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 99650-09 for ; Thu, 26 Aug 2004 15:32:05 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id E89A15E46F4 for ; Thu, 26 Aug 2004 12:31:54 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i7QFVqfG018015; Thu, 26 Aug 2004 11:31:53 -0400 (EDT) To: Ericson Smith Cc: pgsql-admin@postgresql.org Subject: Re: Time is off in PG server In-reply-to: <412E001D.7060408@did-it.com> References: <412DE9EE.1070207@did-it.com> <17738.1093532734@sss.pgh.pa.us> <412E001D.7060408@did-it.com> Comments: In-reply-to Ericson Smith message dated "Thu, 26 Aug 2004 11:22:05 -0400" Date: Thu, 26 Aug 2004 11:31:52 -0400 Message-ID: <18014.1093534312@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/265 X-Sequence-Number: 14660 Ericson Smith writes: > I realized I made a mistake in that initial email (should have said 12am > instead of pm). However, I tried: >>> set local time zone 'EST5EDT'; > SET >>> select now(); "set local" was probably not what you wanted to use here. Per the man page: Note that SET LOCAL will appear to have no effect if it is executed outside a BEGIN block, since the transaction will end immediately. regards, tom lane