Re: Time is off in PG server - Mailing list pgsql-admin

From Tom Lane
Subject Re: Time is off in PG server
Date
Msg-id 18014.1093534312@sss.pgh.pa.us
Whole thread Raw
In response to Re: Time is off in PG server  (Ericson Smith <eric@did-it.com>)
Responses Re: Time is off in PG server
List pgsql-admin
Ericson Smith <eric@did-it.com> 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

pgsql-admin by date:

Previous
From: Ericson Smith
Date:
Subject: Re: Time is off in PG server
Next
From: Ericson Smith
Date:
Subject: Re: Time is off in PG server