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-03T06:13:13Z
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
Commits
-
Coordinate emit_log_hook and all log destinations to share the same timeval
- 2a217c371799 17.0 landed