Re: Reducing the log spam

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Reducing the log spam
Дата
Msg-id a13864771f0193fd19ab017e281cd498f5898380.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Reducing the log spam  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Ответы Re: Reducing the log spam
Список pgsql-hackers
On Thu, 2024-05-02 at 13:11 +0200, Jelte Fennema-Nio wrote:
> On Thu, 2 May 2024 at 13:08, Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
> > 2. Change the newly added check in errcode() to only set
> > output_to_server to false when IsLogicalWorker() returns false.
>
> Actually a third, and probably even better solution would be to only
> apply this new GUC to non-backgroundworker processes. That seems quite
> reasonable, since often the only way to access background worker
> errors is often through the logs.

That is a good idea.  This version only suppresses error messages
in ordinary backend processes.

Yours,
Laurenz Albe

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: A failure in prepared_xacts test
Следующее
От: "Imseih (AWS), Sami"
Дата:
Сообщение: Re: allow changing autovacuum_max_workers without restarting