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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Kambam Vinay <vinaykambam(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fix for timestamp lag issue from emit_log_hook when GUC log_line_prefix has '%m'
Date: 2024-04-03 06:13:13
Message-ID: ZgzzeWzKe30LKLqO@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 18, 2024 at 02:12:57PM +0900, Michael Paquier wrote:
> I may be able to get this one committed just before the feature freeze
> of v17, as timestamp consistency for hooks that call
> log_status_format() is narrow. For now, I have added an entry in the
> CF app to keep track of it:
> https://commitfest.postgresql.org/48/4901/

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.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-04-03 06:18:10 Re: Confusing #if nesting in hmac_openssl.c
Previous Message Andrei Lepikhov 2024-04-03 06:07:27 Re: type cache cleanup improvements