Re: Correction of how to use TimeZone by ControlFile(xlog.c)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Correction of how to use TimeZone by ControlFile(xlog.c)
Дата
Msg-id 10513.1186155195@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Correction of how to use TimeZone by ControlFile(xlog.c)  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Ответы Re: Correction of how to use TimeZone by ControlFile(xlog.c)  (Michael Glaesemann <grzm@seespotcode.net>)
Список pgsql-patches
"Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> writes:
> I understand the essence which you say. Then, I think that gmtime is an ideal
> there. localtime also takes summer time into consideration. It changes and
> sometimes falls unconsciously. Furthermore, a tzname can't be expressed
> by the present elog....
> Moreover, how about relocating datacenter to New York from the loss Angelus?
> The log is continued.... database log is an audit item. Recently, it is more
> important than a response. And it is used secondarily.

People who find the above arguments compelling would certainly be free
to set their log_timezone to GMT.  Those who don't find them compelling
should not be forced to deal in GMT.  The fact that Postgres has always
logged in system local time, and we've had no complaints about that,
suggests to me that most people prefer local-time logging.

            regards, tom lane

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

Предыдущее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: Correction of how to use TimeZone by ControlFile(xlog.c)
Следующее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: Correction of how to use TimeZone by ControlFile(xlog.c)