Re: Postgresql logfilename and times in GMT - not EST

From: Lonni J Friedman <netllama(at)gmail(dot)com>
To: Bryan Montgomery <monty(at)english(dot)net>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgresql logfilename and times in GMT - not EST
Date: 2012-12-04 22:03:28
Message-ID: CAP=oouHo1+q78tzqWC42TCO-tnPygphqCS=XaUrBw68+MT1Ggw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Dec 4, 2012 at 1:59 PM, Bryan Montgomery <monty(at)english(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-12-04 22:42:18 Re: Postgresql logfilename and times in GMT - not EST
Previous Message Bryan Montgomery 2012-12-04 21:59:21 Postgresql logfilename and times in GMT - not EST