inconsistent time zone formats in log

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: inconsistent time zone formats in log
Date: 2012-12-29 12:23:24
Message-ID: 1356783804.20017.12.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The xlog code uses two different time zone formats at various times.
Here is an example:

2012-12-29 07:04:07.338 EST LOG: database system was interrupted; last known up at 2012-12-29 06:27:02 EST
2012-12-29 07:04:26.347 EST LOG: last completed transaction was at log time 2012-12-29 06:34:24.394802-05

The second format also does not respect log_timezone, which seems a bit
of a bug.

It's also not clear why we need three different ways to show
milliseconds within the space of two lines.

Could we make some of this more consistent?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2012-12-29 12:43:11 Re: inconsistent time zone formats in log
Previous Message Daniel Farina 2012-12-29 12:21:56 Re: pg_stat_statements: calls under-estimation propagation