pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: bufmgr: Add Pin/UnpinLocalBuffer()
Date: Wed, 05 Apr 2023 17:45:48 +0000
Message-ID: <E1pk7Cd-001WqC-1b@gemulon.postgresql.org> (raw)

bufmgr: Add Pin/UnpinLocalBuffer()

So far these were open-coded in quite a few places, without a good reason.

Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: David Rowley <dgrowleyml@gmail.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(-)



Message-ID: <E1pk7Cd-001WqC-1b@gemulon.postgresql.org>
Permalink:  ../E1pk7Cd-001WqC-1b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pk7Cd-001WqC-1b@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: bufmgr: Add Pin/UnpinLocalBuffer()
  In-Reply-To: <E1pk7Cd-001WqC-1b@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox