pgsql: Remove useless argument from UnpinBuffer() - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Remove useless argument from UnpinBuffer()
Date
Msg-id E1oe9yy-000FQ6-DH@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: ci: Add 32bit build and test
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: doc: Fix PQsslAttribute docs for compression