]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Convert lwlock.c to use the new shmem allocation functions
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 5 Apr 2026 23:12:57 +0000 (02:12 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 5 Apr 2026 23:12:57 +0000 (02:12 +0300)
commita006bc7b1699d952afcb6d786343e8bf0ecc61d6
tree1c1a0c84bb447ebd5b311d344635d7f53c8c40e4
parent1fc2e9fbc0a3d17aa484dbfab11af58eb2cb20ad
Convert lwlock.c to use the new shmem allocation functions

It seems like a good candidate to convert first because it needs to
initialized before any other subsystem, but other than that it's
nothing special.

Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Reviewed-by: Matthias van de Meent <boekewurm+postgres@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/CAExHW5vM1bneLYfg0wGeAa=52UiJ3z4vKd3AJ72X8Fw6k3KKrg@mail.gmail.com
src/backend/postmaster/postmaster.c
src/backend/storage/ipc/ipci.c
src/backend/storage/lmgr/lwlock.c
src/backend/tcop/postgres.c
src/include/storage/lwlock.h
src/include/storage/subsystemlist.h