Обсуждение: pgsql: bufmgr: Make definitions related to buffer descriptor easier to

Поиск
Список
Период
Сортировка

pgsql: bufmgr: Make definitions related to buffer descriptor easier to

От
Andres Freund
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ff219c19878960d6af3fb8e08789018745f91895

Modified Files
--------------
src/include/storage/buf_internals.h | 65 +++++++++++++++++++++++++++----------
1 file changed, 47 insertions(+), 18 deletions(-)