]> git.ipfire.org Git - thirdparty/postgresql.git/commit
bufmgr: Make definitions related to buffer descriptor easier to modify
authorAndres Freund <andres@anarazel.de>
Wed, 14 Jan 2026 00:38:29 +0000 (19:38 -0500)
committerAndres Freund <andres@anarazel.de>
Wed, 14 Jan 2026 00:38:29 +0000 (19:38 -0500)
commitff219c19878960d6af3fb8e08789018745f91895
tree900cbd236b0f58421586e94577fd0e634a961ed9
parent9a385f61666c426f595a953499d5dc9c6e142c9a
bufmgr: Make definitions related to buffer descriptor easier to modify

This is in preparation to widening the buffer state to 64 bits, which in turn
is preparation for implementing content locks in bufmgr. This commit aims to
make the subsequent commits a bit easier to review, by separating out
reformatting etc from the actual changes.

Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/4csodkvvfbfloxxjlkgsnl2lgfv2mtzdl7phqzd4jxjadxm4o5@usw7feyb5bzf
src/include/storage/buf_internals.h