postgresql/src/backend/postmaster
Álvaro Herrera f1cd34f952
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
2026-01-20 16:41:04 +01:00
..
autovacuum.c Wake up autovacuum launcher from postmaster when a worker exits 2026-01-15 18:02:25 +02:00
auxprocess.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
bgworker.c Allow bgworkers to be terminated for database-related commands 2026-01-06 14:24:29 +09:00
bgwriter.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
checkpointer.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
fork_process.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
interrupt.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
launch_backend.c Use integer backend type when exec'ing a postmaster child 2026-01-20 16:41:04 +01:00
Makefile Assign a child slot to every postmaster child process 2024-11-14 16:12:28 +02:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
pgarch.c Use the GetPGProcByNumber() macro when possible 2026-01-05 21:19:03 +13:00
pmchild.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
postmaster.c Wake up autovacuum launcher from postmaster when a worker exits 2026-01-15 18:02:25 +02:00
startup.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
syslogger.c Update copyright for 2026 2026-01-01 13:24:10 -05:00
walsummarizer.c Use the GetPGProcByNumber() macro when possible 2026-01-05 21:19:03 +13:00
walwriter.c Update copyright for 2026 2026-01-01 13:24:10 -05:00