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 YruoG3wYsI0Jq/kC@paquier.xyz
Whole thread Raw
In response to Export log_line_prefix(); useful for emit_log_hook.  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Export log_line_prefix(); useful for emit_log_hook.
List pgsql-hackers
On Tue, Jun 28, 2022 at 11:52:56AM -0700, Jeff Davis wrote:
> Patch attached. Some kinds of emit log hooks might find it useful to
> also compute the log_line_prefix.

Have you played with anything specific that would require that?  I
am fine to expose this routine, being mostly curious about what kind
of recent format implemented with the elog hook would use it.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: tuplesort Generation memory contexts don't play nicely with index builds
Next
From: Michael Paquier
Date:
Subject: Re: Fix proposal for comparaison bugs in PostgreSQL::Version