Re: Postgresql logfilename and times in GMT - not EST

Поиск
Список
Период
Сортировка
От Lonni J Friedman
Тема Re: Postgresql logfilename and times in GMT - not EST
Дата
Msg-id CAP=oouHo1+q78tzqWC42TCO-tnPygphqCS=XaUrBw68+MT1Ggw@mail.gmail.com
обсуждение исходный текст
Ответ на Postgresql logfilename and times in GMT - not EST  (Bryan Montgomery <monty@english.net>)
Ответы Re: Postgresql logfilename and times in GMT - not EST
Список 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 по дате отправления:

Предыдущее
От: Bryan Montgomery
Дата:
Сообщение: Postgresql logfilename and times in GMT - not EST
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgresql logfilename and times in GMT - not EST