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

From Michael Glaesemann
Subject Re: Correction of how to use TimeZone by ControlFile(xlog.c)
Date
Msg-id 1207A228-F594-46D1-A23E-2A979AAC17F9@seespotcode.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
On Aug 3, 2007, at 10:33 , Tom Lane wrote:

> 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.

I've most likely missed something as I'm unfamiliar with this area,
but would it make sense to record the time zone offset? Then whether
its in local time or UTC, it's always marking a unique instant in time.

Michael Glaesemann
grzm seespotcode net



pgsql-patches by date:

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