Re: Export log_line_prefix(); useful for emit_log_hook.
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Jeff Davis <pgsql@j-davis.com>, pgsql-hackers@postgresql.org
Date: 2022-07-04T06:54:44Z
Lists: pgsql-hackers
On Wed, Jun 29, 2022 at 03:09:42PM +0200, Alvaro Herrera wrote: > Hmm, maybe your hypothetical book would prefer to use a different > setting for log line prefix than Log_line_prefix, so it would make sense > to pass the format string as a parameter to the function instead of > relying on the GUC global. +1. -- Michael
Commits
-
Provide log_status_format(), useful for an emit_log_hook.
- b40baa96a7ad 16.0 landed