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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 5e692dcacabd5dbc8ccfb9e37a2d26a574b6dea6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-07-16T16:26:35Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/postmaster/postmaster.c modified +7 −20

Discussion