Why does log_error_verbosity not apply to server logs?

From: Jeremy Finzel <finzelj(at)gmail(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Why does log_error_verbosity not apply to server logs?
Date: 2019-04-22 20:30:41
Message-ID: CAMa1XUjm5o7xUDqmVps-s35xQRBuLYU8eX7boFSZa+7bsgJwCA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a DO block which is raising a log message with number of rows
deleted. It also shows CONTEXT messages every time, which I don't want.
But setting in the client log_error_verbosity = terse does not work to get
rid of the messages. I can't get it to work even setting it on a per-user
level.

My client shows terse verbosity as expected, but the server logs always no
matter what have CONTEXT messages.

Is there any way to suppress these when called in a DO block like this?

Thanks,
Jeremy

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2019-04-22 20:47:20 Re: Why does log_error_verbosity not apply to server logs?
Previous Message Thomas Kellerer 2019-04-22 19:38:39 Re: Resetting identity columns