From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: bufmgr: Add Pin/UnpinLocalBuffer() |
Date: | 2023-04-05 17:45:48 |
Message-ID: | E1pk7Cd-001WqC-1b@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
bufmgr: Add Pin/UnpinLocalBuffer()
So far these were open-coded in quite a few places, without a good reason.
Reviewed-by: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Reviewed-by: David Rowley <dgrowleyml(at)gmail(dot)com>
Discussion: https://postgr.es/m/20221029025420.eplyow6k7tgu6he3@awork3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/794f25944790ed0462cde3d6dc0f1ad02fcd6bba
Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 30 +++-------------
src/backend/storage/buffer/localbuf.c | 67 +++++++++++++++++++++++------------
src/include/storage/buf_internals.h | 2 ++
3 files changed, 51 insertions(+), 48 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2023-04-05 19:40:41 | pgsql: pg_dump: Add support for zstd compression |
Previous Message | Andres Freund | 2023-04-05 17:27:12 | pgsql: Add smgrzeroextend(), FileZero(), FileFallocate() |