Re: Timezone for %t log_line_prefix - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Timezone for %t log_line_prefix
Date
Msg-id 3638.24.211.141.25.1091673664.squirrel@www.dunslane.net
Whole thread Raw
In response to Re: Timezone for %t log_line_prefix  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane said:
>
> Since we do have control over the timezone library now, one possible
> answer is to extend the src/timezone API so that it's possible to
> convert/format against more than a single timezone.  We could then
> remember the zone setting inherited from the postmaster and always use
> that when formatting timestamps for the log, while not changing the
> behavior for operations at the SQL level.
>
> However, this is probably a bit more work than is reasonable to
> undertake right now, when we're already overdue for beta.  For the
> moment I'm really thinking that we ought to just #ifdef out the %Z on
> Windows, and plan to do something nicer in 8.1.
>

I think this counts as a bug, but I don't see that it needs to hold up the
beta release - I am assuming we expect several betas before we go gold.
Could it be fixed nicely in the next week or so?

cheers

andrew




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Timezone for %t log_line_prefix
Next
From: Tom Lane
Date:
Subject: Re: DROP TABLESPACE causes panic during recovery