Re: Export log_line_prefix(); useful for emit_log_hook.

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Export log_line_prefix(); useful for emit_log_hook.
Date: 2022-07-04 06:54:44
Message-ID: YsKOtLNJy/nmlcVp@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2022-07-04 06:59:55 Re: Allowing REINDEX to have an optional name
Previous Message Michael Paquier 2022-07-04 06:51:32 Re: Prevent writes on large objects in read-only transactions