pgsql: Refactor lock manager initialization to make it a bit less speci - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Refactor lock manager initialization to make it a bit less speci
Date
Msg-id E1sjZ9d-001wLL-6A@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Refactor some code for ALTER TABLE SET LOGGED/UNLOGGED in tablec
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Disallow USING clause when altering type of generated column