Re: Finer grain log timestamps - Mailing list pgsql-hackers

From Dagfinn Ilmari Mannsåker
Subject Re: Finer grain log timestamps
Date
Msg-id 875ymfnh09.fsf@wibble.ilmari.org
Whole thread Raw
In response to Re: Finer grain log timestamps  (David Fetter <david@fetter.org>)
Responses Re: Finer grain log timestamps
List pgsql-hackers
David Fetter <david@fetter.org> writes:

> diff --git src/backend/utils/error/elog.c src/backend/utils/error/elog.c
> index 55ee5423af..4698e32ab7 100644
> --- src/backend/utils/error/elog.c
> +++ src/backend/utils/error/elog.c
> @@ -2295,7 +2295,7 @@ char *
>  get_formatted_log_time(void)
>  {
>      pg_time_t    stamp_time;
> -    char        msbuf[13];
> +    char        msbuf[16];

Now that it holds microseconds (µs), not milliseconds (ms), should it
not be renamed to `usbuf`?

- ilmari



pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: An attempt to avoid locally-committed-but-not-replicated-to-standby-transactions in synchronous replication
Next
From: Andrey Borodin
Date:
Subject: Re: An attempt to avoid locally-committed-but-not-replicated-to-standby-transactions in synchronous replication