Move some functions from postmaster.c to a new source file
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Move some functions from postmaster.c to a new source file This just moves the functions, with no other changes, to make the next commits smaller and easier to review. The moved functions are related to launching postmaster child processes in EXEC_BACKEND mode. Reviewed-by: Tristan Partin, Andres Freund Discussion: https://www.postgresql.org/message-id/7a59b073-5b5b-151e-7ed3-8b01ff7ce9ef@iki.fi
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/launch_backend.c | added | +811 −0 |
| src/backend/postmaster/Makefile | modified | +1 −0 |
| src/backend/postmaster/meson.build | modified | +1 −0 |
| src/backend/postmaster/postmaster.c | modified | +10 −742 |
| src/include/postmaster/postmaster.h | modified | +5 −0 |
Discussion
- Refactoring backend fork+exec code 63 messages · 2023-06-18 → 2024-07-03