Re: Export log_line_prefix(); useful for emit_log_hook. - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Export log_line_prefix(); useful for emit_log_hook.
Date
Msg-id YsKOtLNJy/nmlcVp@paquier.xyz
Whole thread Raw
In response to Re: Export log_line_prefix(); useful for emit_log_hook.  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: Export log_line_prefix(); useful for emit_log_hook.
List 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

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Prevent writes on large objects in read-only transactions
Next
From: Michael Paquier
Date:
Subject: Re: Allowing REINDEX to have an optional name