From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move code for backend startup to separate file
Date: Mon, 18 Mar 2024 09:40:36 +0000
Message-ID: <E1rm9Tv-004QMq-W9@gemulon.postgresql.org> (raw)
Move code for backend startup to separate file
This is code that runs in the backend process after forking, rather
than postmaster. Move it out of postmaster.c for clarity.
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/05c3980e7f473ac2061dad9bbb7a9f0ede0279d9
Modified Files
--------------
src/backend/postmaster/launch_backend.c | 1 +
src/backend/postmaster/postmaster.c | 762 +------------------------------
src/backend/tcop/Makefile | 1 +
src/backend/tcop/backend_startup.c | 778 ++++++++++++++++++++++++++++++++
src/backend/tcop/meson.build | 1 +
src/include/postmaster/postmaster.h | 4 +-
src/include/tcop/backend_startup.h | 41 ++
7 files changed, 829 insertions(+), 759 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Move code for backend startup to separate file
In-Reply-To: <E1rm9Tv-004QMq-W9@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox