Re: Export log_line_prefix(); useful for emit_log_hook.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Export log_line_prefix(); useful for emit_log_hook.
Дата
Msg-id 6afdaff716ea203519076dfd935d86af269acc2c.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Export log_line_prefix(); useful for emit_log_hook.  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Mon, 2022-07-04 at 15:54 +0900, Michael Paquier wrote:
> 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.

That is nicer, attached.

I also renamed the function log_status_format(), and made
log_line_prefix() a thin wrapper over that. I think that's less
confusing.

Regards,
    Jeff Davis


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Lazy JIT IR code generation to increase JIT speed with partitions
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Lazy JIT IR code generation to increase JIT speed with partitions