Convert macros to static inline functions (buf_internals.h)
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/buffer/buf_init.c | modified | +1 −1 |
| src/backend/storage/buffer/bufmgr.c | modified | +8 −8 |
| src/backend/storage/buffer/localbuf.c | modified | +6 −6 |
| src/include/storage/buf_internals.h | modified | +97 −61 |
Discussion
- Make relfile tombstone files conditional on WAL level 184 messages · 2021-03-04 → 2023-01-06