Re: log_min_messages per backend type

Euler Taveira <euler@eulerto.com>

From: "Euler Taveira" <euler@eulerto.com>
To: "Kirill Reshke" <reshkekirill@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-12-19T13:34:39Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Allow log_min_messages to be set per process type

  2. Assign "backend" type earlier during process start-up

  3. Use integer backend type when exec'ing a postmaster child

  4. Sort guc_parameters.dat alphabetically by name

  5. Create a separate file listing backend types

On Thu, Dec 19, 2024, at 1:13 AM, Kirill Reshke wrote:
> Hi! Looks like a sane proposal. Correct me if I'm wrong, but with your
> patch it is not possible to configure something like "everybody ERROR,
> but autovac DEBUG5"? I mean,
> set log_min_messages to 'ERROR:default, DEBUG5:autovacuum' (not
> specifying all possible cases?)
> 
No. Good point. I forgot to mention that ALL as backend type could be added.


--
Euler Taveira
EDB   https://www.enterprisedb.com/