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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: bufmgr: Make definitions related to buffer descriptor easier to
Date: 2026-01-14 01:07:50
Message-ID: E1vfpMT-000KNn-2A@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-01-14 07:03:02 pgsql: pg_waldump: Relax LSN comparison check in TAP test
Previous Message Michael Paquier 2026-01-13 23:52:11 pgsql: Fix query jumbling with GROUP BY clauses