]> git.ipfire.org Git - thirdparty/postgresql.git/commit
lwlock: Remove ForEachLWLockHeldByMe
authorAndres Freund <andres@anarazel.de>
Thu, 15 Jan 2026 19:54:16 +0000 (14:54 -0500)
committerAndres Freund <andres@anarazel.de>
Thu, 15 Jan 2026 19:57:45 +0000 (14:57 -0500)
commit55fbfb738b00be8779949595065cb85aa471ea80
treedef9629be6c162e1b8ba7a90ebf97acdb7598422
parent335f2231a30cb5002219888eef14f4dfce5b0391
lwlock: Remove ForEachLWLockHeldByMe

As of commit fcb9c977aa5, ForEachLWLockHeldByMe(), introduced in f4ece891fc2f,
is not used anymore, as content locks are now implemented in bufmgr.c.  It
doesn't seem that likely that a new user of the functionality will appear all
that soon, making removal of the function seem like the most sensible path. It
can easily be added back if necessary.

Discussion: https://postgr.es/m/lneuyxqxamqoayd2ntau3lqjblzdckw6tjgeu4574ezwh4tzlg%40noioxkquezdw
src/backend/storage/lmgr/lwlock.c
src/include/storage/lwlock.h