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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f1cd34f95272fe62aa9378f9164431399e94a135
Modified Files
--------------
src/backend/postmaster/launch_backend.c | 37 +++++++++++++--------------------
1 file changed, 15 insertions(+), 22 deletions(-)