Re: Log timestamps at higher resolution

From: David Fetter <david(at)fetter(dot)org>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Log timestamps at higher resolution
Date: 2018-10-23 19:10:08
Message-ID: 20181023191007.GF6049@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 24, 2018 at 08:00:24AM +1300, Thomas Munro wrote:
> On Wed, Oct 24, 2018 at 7:51 AM David Fetter <david(at)fetter(dot)org> wrote:
> > Per gripes I've been hearing with increasing frequency, please find
> > attached a patch that implements $Subject. It's microsecond resolution
> > because at least at the moment, nanosecond resolution doesn't appear
> > to be helpful in this context.
>
> Wouldn't you want to choose a new letter or some other way to make
> existing format control strings do what they always did?

I hadn't because I'd looked at the existing format as merely buggy in
lacking precision, although I guess with really fussy log processors,
this change could break things.

Have you seen processors like that in the wild?

Best,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-10-23 19:14:50 Re: Log timestamps at higher resolution
Previous Message Thomas Munro 2018-10-23 19:00:24 Re: Log timestamps at higher resolution