bufmgr: Add Pin/UnpinLocalBuffer()

Andres Freund <andres@anarazel.de>

Commit: 794f25944790ed0462cde3d6dc0f1ad02fcd6bba
Author: Andres Freund <andres@anarazel.de>
Date: 2023-04-05T17:42:17Z
Releases: 16.0
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

Files

Discussion