Re: Reducing the log spam - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: Reducing the log spam
Date
Msg-id CAGECzQRQx7X85tFa4cDWvXQMWTFyrvZw=vPttXv8S_9CUAfQXw@mail.gmail.com
Whole thread Raw
In response to Re: Reducing the log spam  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Responses Re: Reducing the log spam
List pgsql-hackers
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.



pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: Reducing the log spam
Next
From: Hans Buschmann
Date:
Subject: Type and CAST error on lowest negative integer values for smallint, int and bigint