Re: Postgresql logfilename and times in GMT - not EST - Mailing list pgsql-general

From Lonni J Friedman
Subject Re: Postgresql logfilename and times in GMT - not EST
Date
Msg-id CAP=oouHo1+q78tzqWC42TCO-tnPygphqCS=XaUrBw68+MT1Ggw@mail.gmail.com
Whole thread Raw
In response to Postgresql logfilename and times in GMT - not EST  (Bryan Montgomery <monty@english.net>)
Responses Re: Postgresql logfilename and times in GMT - not EST  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Tue, Dec 4, 2012 at 1:59 PM, Bryan Montgomery <monty@english.net> wrote:
> We have a test 9.2.0 db running on openSuse 12.2. When I select now() I get
> the correct timezone and date back (-5 hours).
> When I do date at the os prompt, I get the right timezone back.
>
> I changed postgres.conf to have timezone = 'EST' and restarted postgres.
> However the log file is still 5 hours ahead. What gives? Not the end of the
> world but a bit annoying.

you need to set log_timezone .  This is a new 'feature' in 9.2 that
annoyed me as well.  I assume that there was a good use case for this.


pgsql-general by date:

Previous
From: Bryan Montgomery
Date:
Subject: Postgresql logfilename and times in GMT - not EST
Next
From: Tom Lane
Date:
Subject: Re: Postgresql logfilename and times in GMT - not EST