Re: log_min_messages per backend type

zengman <zengman@halodbtech.com>

From: zengman <zengman@halodbtech.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-09T13:52:07Z
Lists: pgsql-hackers
> Euler mentioned offlist that I also forgot to remove
> log_min_messages_process_types from guc.h.  So that gives us this patch
> for now.

Hi, 

I just noticed that `log_min_messages_process_types` is not used in the latest commit and should be removed.
I also noticed that `message level` in the comments below should be deleted as well.

```
diff --git a/src/include/postmaster/proctypelist.h b/src/include/postmaster/proctypelist.h
index 4e259e84c2d..229308ec137 100644
--- a/src/include/postmaster/proctypelist.h
+++ b/src/include/postmaster/proctypelist.h
@@ -25,8 +25,7 @@
  */
 
 /*
- * List of process types (symbol, category, description, Main function,
- * shmem_attach, message level) entries.
+ * List of process types (symbol, category, description, Main function, shmem_attach) entries.
  */
```

--
regards,
Man Zeng

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Cleanup for log_min_messages changes in 38e0190ced71

  2. Allow log_min_messages to be set per process type

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

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

  5. Sort guc_parameters.dat alphabetically by name

  6. Create a separate file listing backend types

  7. Replace postmaster.c's own backend type codes with BackendType