Re: Unable to log in current local time EST

Поиск
Список
Период
Сортировка
От Devrim Gündüz
Тема Re: Unable to log in current local time EST
Дата
Msg-id 1472159027.10492.18.camel@gunduz.org
обсуждение исходный текст
Ответ на Unable to log in current local time EST  (Alex Lai <mlai@sesda3.com>)
Список pgsql-general
Hi,

On Thu, 2016-08-25 at 11:36 -0400, Alex Lai wrote:
> I have my log_line_prefix set to
> log_line_prefix = '[%d]%p %x %c[%l] %t %i'
> in postgresql.conf
>
> psql -c 'show timezone'
>   TimeZone
> ------------
>  US/Eastern
>
> tail -2 omi_acps.log ; date
> [sipsdb]20180 0 57ab7dcd.4ed4[11895717] 2016-08-25 15:32:45 GMT
> SELECTLOG:  duration: 0.326 ms
> [sipsdb]20180 0 57ab7dcd.4ed4[11895718] 2016-08-25 15:32:45 GMT idle in
> transactionLOG:  statement: fetch all in "<unnamed portal 854341>"
> Thu Aug 25 11:32:45 EDT 2016
> My host is running EST time.
>
> Postgres keeps log the GMT time.
> I want to log EST time.  How can I do that? 

What is the value of log_timezone parameter?

Regards,

--
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Understanding Postgres Memory Usage
Следующее
От: Alex Lai
Дата:
Сообщение: Re: Unable to log in current local time EST