Use integer backend type when exec'ing a postmaster child
Álvaro Herrera <alvherre@kurilemu.de>
Use integer backend type when exec'ing a postmaster child This way we don't have to walk the entire process type array and strcmp() the string with the names therein. The integer value can be directly used as array index instead. Author: Álvaro Herrera <alvherre@kurilemu.de> Reviewed-by: Euler Taveira <euler@eulerto.com> Discussion: https://postgr.es/m/202512090935.k3xrtr44hxkn@alvherre.pgsql
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/launch_backend.c | modified | +15 −22 |
Discussion
- log_min_messages per backend type 54 messages · 2024-12-17 → 2026-02-11