pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove postmaster.c's reset_shared() wrapper function.
Date: Sat, 16 Jul 2022 16:26:51 +0000
Message-ID: <E1oCkd0-000VMX-SZ@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1oCkd0-000VMX-SZ@gemulon.postgresql.org>
Permalink:  ../E1oCkd0-000VMX-SZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oCkd0-000VMX-SZ@gemulon.postgresql.org

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Remove postmaster.c's reset_shared() wrapper function.
  In-Reply-To: <E1oCkd0-000VMX-SZ@gemulon.postgresql.org>
  References: <E1oCkd0-000VMX-SZ@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