Re: Export log_line_prefix(); useful for emit_log_hook.
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Jeff Davis <pgsql@j-davis.com>
Cc: pgsql-hackers@postgresql.org
Date: 2022-06-29T13:09:42Z
Lists: pgsql-hackers
On 2022-Jun-28, Jeff Davis wrote: > Patch attached. Some kinds of emit log hooks might find it useful to > also compute the log_line_prefix. 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. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Java is clearly an example of money oriented programming" (A. Stepanov)
Commits
-
Provide log_status_format(), useful for an emit_log_hook.
- b40baa96a7ad 16.0 landed