pgsql: Remove postmaster.c's reset_shared() wrapper function. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove postmaster.c's reset_shared() wrapper function.
Date
Msg-id E1oCkd0-000VMX-SZ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove postmaster.c's reset_shared() wrapper function.

reset_shared just invokes CreateSharedMemoryAndSemaphores, so let's
get rid of it and invoke that directly.  This removes a confusing
seeming-inconsistency between the postmaster's startup sequence
and the startup sequence used in standalone mode.

Nathan Bossart, reviewed by Pavel Borisov

Discussion: https://postgr.es/m/20220329221702.GA559657@nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5e692dcacabd5dbc8ccfb9e37a2d26a574b6dea6

Modified Files
--------------
src/backend/postmaster/postmaster.c | 27 +++++++--------------------
1 file changed, 7 insertions(+), 20 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Log details for client certificate failures
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Log details for client certificate failures