bufmgr: Make definitions related to buffer descriptor easier to modify

Andres Freund <andres@anarazel.de>

Commit: ff219c19878960d6af3fb8e08789018745f91895
Author: Andres Freund <andres@anarazel.de>
Date: 2026-01-14T00:38:29Z
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

Files

PathChange+/−
src/include/storage/buf_internals.h modified +47 −18

Discussion