pgsql: Remove postmaster.c's reset_shared() wrapper function.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove postmaster.c's reset_shared() wrapper function.
Date: 2022-07-16 16:26:51
Message-ID: E1oCkd0-000VMX-SZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-07-16 21:08:09 Re: pgsql: Log details for client certificate failures
Previous Message Tom Lane 2022-07-16 14:45:29 Re: pgsql: Log details for client certificate failures