pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove useless argument from UnpinBuffer()
Date: Fri, 30 Sep 2022 06:58:49 +0000
Message-ID: <E1oe9yy-000FQ6-DH@gemulon.postgresql.org> (raw)

Remove useless argument from UnpinBuffer()

The last caller of UnpinBuffer() that did not want to adjust
CurrentResourceOwner was removed in 2d115e4, and nothing has been
introduced in bufmgr.c to do the same thing since.  This simplifies 10
code paths.

Author: Aleksander Alekseev
Reviewed-by: Nathan Bossart, Zhang Mingli, Bharath Rupireddy
Discussion: https://postgr.es/m/CAJ7c6TOmmFpb6ohurLhTC7hKNJWGzdwf8s4EAtAZxD48g-e6Jw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/65b158ae4e892c2da7a5e31e2d2645e5e79a0bfd

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 33 +++++++++++++++------------------
1 file changed, 15 insertions(+), 18 deletions(-)



Message-ID: <E1oe9yy-000FQ6-DH@gemulon.postgresql.org>
Permalink:  ../E1oe9yy-000FQ6-DH@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oe9yy-000FQ6-DH@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Remove useless argument from UnpinBuffer()
  In-Reply-To: <E1oe9yy-000FQ6-DH@gemulon.postgresql.org>
  References: <E1oe9yy-000FQ6-DH@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