Re: how to completely turn off statement error logging - Mailing list pgsql-general

From David G. Johnston
Subject Re: how to completely turn off statement error logging
Date
Msg-id CAKFQuwbZx8dNQOUjn0-BAE5vSjUR7dWpc8KCE_RNyZB55Ci7VA@mail.gmail.com
Whole thread Raw
In response to AW: [Extern] Re: how to completely turn off statement error logging  ("Zwettler Markus (OIZ)" <Markus.Zwettler@zuerich.ch>)
List pgsql-general
On Monday, May 13, 2024, Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch> wrote:

but I do not want to suppress errors that are related to infrastructure problems, i.e. "could not open file..."


The server doesn’t classify the errors it emits into scope, “application errors” and ”infrastructure errors”, or otherwise.  The only classification is severity.

It does include an SQL Error Code that you could, in post-processing, act on.

David J.

pgsql-general by date:

Previous
From: "Zwettler Markus (OIZ)"
Date:
Subject: AW: [Extern] Re: how to completely turn off statement error logging
Next
From: Christophe Pettus
Date:
Subject: UTC is not a time zone?