Remove postmaster.c's reset_shared() wrapper function.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Jul 2022 16:26:19 +0000 (12:26 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Jul 2022 16:26:35 +0000 (12:26 -0400)
commit5e692dcacabd5dbc8ccfb9e37a2d26a574b6dea6
treea9254f9e16d7796a512700d284845ffb2e047764
parent506428d091760650971433f6bc083531c307b368
Remove postc'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
src/backend/postmaster/postmaster.c