pgsql: Move some functions from postmaster.c to a new source file

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move some functions from postmaster.c to a new source file
Date: 2024-03-18 09:40:36
Message-ID: E1rm9Tv-004QMl-V4@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f1baed18bc3db50c72bfb00b6247b47689158445

Modified Files
--------------
src/backend/postmaster/Makefile | 1 +
src/backend/postmaster/launch_backend.c | 811 ++++++++++++++++++++++++++++++++
src/backend/postmaster/meson.build | 1 +
src/backend/postmaster/postmaster.c | 752 +----------------------------
src/include/postmaster/postmaster.h | 5 +
5 files changed, 828 insertions(+), 742 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-03-18 11:12:46 pgsql: Add some const decorations
Previous Message Michael Paquier 2024-03-18 05:21:48 pgsql: Remove references to backup_fs_hot() in Cluster.pm