pgsql: Refactor lock manager initialization to make it a bit less speci

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Refactor lock manager initialization to make it a bit less speci
Дата
Msg-id E1sjZ9d-001wLL-6A@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления: