Skip site navigation (1) Skip section navigation (2)

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Correction of how to use TimeZone by ControlFile(xlog.c)
Date: 2007-08-03 13:49:57
Message-ID: 9242.1186148997@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Magnus Hagander <magnus(at)hagander(dot)net> writes:
> On Fri, Aug 03, 2007 at 09:01:22AM -0400, Andrew Dunstan wrote:
>>> Having talked a bit off-list with Hiroshi-san, he came up with the
>>> suggestion taht we should be logging this information in UTC/GMT instead of
>>> the servers timezone (for all cases, not just win32).

>> Are you just talking about xlog.c? That wouldn't be an acceptable change 
>> in elog.c, although we could provide additional escapes to output UTC if 
>> needed.

> Yes, just talking about xlog.c.

I don't think it's an acceptable change in either place.  People who
want to see UTC in their logs can start the postmaster in UTC.  Those
who are accustomed to seeing local time will squawk.

			regards, tom lane

In response to

Responses

pgsql-patches by date

Next:From: Gregory StarkDate: 2007-08-03 14:29:53
Subject: Re: Correction of how to use TimeZone by ControlFile(xlog.c)
Previous:From: Magnus HaganderDate: 2007-08-03 13:04:45
Subject: Re: Correction of how to use TimeZone by ControlFile(xlog.c)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group