pgsql: Convert macros to static inline functions (buf_internals.h)

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Convert macros to static inline functions (buf_internals.h)
Date: 2022-07-27 18:08:21
Message-ID: E1oGlSG-001WCm-Cs@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Convert macros to static inline functions (buf_internals.h)

Dilip Kumar, reviewed by Vignesh C, Ashutosh Sharma, and me.

Discussion: http://postgr.es/m/CAFiTN-tYbM7D+2UGiNc2kAFMSQTa5FTeYvmg-Vj2HvPdVw2Gvg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3ac88fddd92cc3fd8475a2f5f33837dc18d2057b

Modified Files
--------------
src/backend/storage/buffer/buf_init.c | 2 +-
src/backend/storage/buffer/bufmgr.c | 16 ++--
src/backend/storage/buffer/localbuf.c | 12 +--
src/include/storage/buf_internals.h | 158 +++++++++++++++++++++-------------
4 files changed, 112 insertions(+), 76 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2022-07-27 18:13:57 Re: pgsql: Remove the restriction that the relmap must be 512 bytes.
Previous Message Tom Lane 2022-07-27 17:42:27 Re: pgsql: Remove the restriction that the relmap must be 512 bytes.