pgsql: Remove useless argument from UnpinBuffer()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove useless argument from UnpinBuffer()
Date: 2022-09-30 06:58:49
Message-ID: E1oe9yy-000FQ6-DH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-09-30 10:18:58 pgsql: doc: Fix PQsslAttribute docs for compression
Previous Message Andres Freund 2022-09-30 04:08:30 pgsql: ci: Add 32bit build and test