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

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Correction of how to use TimeZone by ControlFile(xlog.c)
Дата
Msg-id 46B37697.7050308@hagander.net
обсуждение исходный текст
Ответ на Re: Correction of how to use TimeZone by ControlFile(xlog.c)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> writes:
>> BTW, windows user should do how.? How do you think?
>> Does it say "Set up an environment variable"?
>> set TZ=
>
> What do they do now to set the postmaster's "timezone"?  That would
> determine log_timezone too, if they don't override it in
> postgresql.conf.

I'd expect >99% of Windows users set their timezone using the control
panel. This gets mapped to the TZ in postgresql using the table
win32_tzmap in src/timezone/pgtz.c.

//Magnus

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

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