Refactor lock manager initialization to make it a bit less special
Split the shared and local initialization to separate functions, and
follow the common naming conventions. With this, we no longer create
the LockMethodLocalHash hash table in the postmaster process, which
was always pointless.
Reviewed-by: Andreas Karlsson
Discussion: https://www.postgresql.org/message-id/c09694ff-2453-47e5-b26c-32a16cd75ce6@iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/fbce7dfc77eaa0d017dfee78c9d27b142d435e41
Modified Files
--------------
src/backend/storage/ipc/ipci.c | 4 ++--
src/backend/storage/lmgr/lock.c | 35 +++++++++++++++++------------------
src/backend/utils/init/postinit.c | 3 +++
src/include/storage/lock.h | 5 +++--
4 files changed, 25 insertions(+), 22 deletions(-)