Refactor lock manager initialization to make it a bit less special

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: fbce7dfc77eaa0d017dfee78c9d27b142d435e41
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-08-29T06:46:06Z
Releases: 18.0
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

Files

Discussion