Re: Correction of how to use TimeZone by ControlFile(xlog.c) - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: Correction of how to use TimeZone by ControlFile(xlog.c)
Date
Msg-id 46B37697.7050308@hagander.net
Whole thread Raw
In response to Re: Correction of how to use TimeZone by ControlFile(xlog.c)  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Correction of how to use TimeZone by ControlFile(xlog.c)
Next
From: Tom Lane
Date:
Subject: Re: Correction of how to use TimeZone by ControlFile(xlog.c)