Re: Fix for timestamp lag issue from emit_log_hook when GUC log_line_prefix has '%m'

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Kambam Vinay <vinaykambam@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2024-04-04T05:26:29Z
Lists: pgsql-hackers
On Wed, Apr 03, 2024 at 03:13:13PM +0900, Michael Paquier wrote:
> While looking again at that. there were two more comments that missed
> a refresh about JSON in get_formatted_log_time() and
> get_formatted_start_time().  It's been a few weeks since the last
> update, but I'll be able to wrap that tomorrow, updating these
> comments on the way.

And done with 2a217c371799, before the feature freeze.
--
Michael

Commits

  1. Coordinate emit_log_hook and all log destinations to share the same timeval