pgsql: process startup: Move AuxiliaryProcessMain into its own file.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: process startup: Move AuxiliaryProcessMain into its own file.
Date: 2021-08-05 19:26:25
Message-ID: E1mBj0b-0007aa-7a@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

process startup: Move AuxiliaryProcessMain into its own file.

After the preceding commits the auxprocess code is independent from
bootstrap.c - so a dedicated file seems less confusing.

Author: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-By: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Reviewed-By: Robert Haas <robertmhaas(at)gmail(dot)com>
Discussion: https://postgr.es/m/20210802164124.ufo5buo4apl6yuvs@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0a692109dcc73178962069addf7478ac89950e4d

Modified Files
--------------
src/backend/bootstrap/bootstrap.c | 157 -----------------------------
src/backend/postmaster/Makefile | 1 +
src/backend/postmaster/auxprocess.c | 194 ++++++++++++++++++++++++++++++++++++
src/backend/postmaster/postmaster.c | 2 +-
src/include/bootstrap/bootstrap.h | 2 -
src/include/miscadmin.h | 2 +-
src/include/postmaster/auxprocess.h | 20 ++++
7 files changed, 217 insertions(+), 161 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2021-08-05 19:36:30 pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
Previous Message Andrew Dunstan 2021-08-05 15:49:01 Re: pgsql: Enable TAP tests of pg_receivewal for ZLIB on Windows, take thre