hio: Relax rules for calling GetVisibilityMapPins()
authorAndres Freund <[email protected]>
Thu, 6 Apr 2023 17:27:30 +0000 (10:27 -0700)
committerAndres Freund <[email protected]>
Thu, 6 Apr 2023 17:36:30 +0000 (10:36 -0700)
commitbba9003b627f4742212bd060ae65fe5c9c3592f3
tree94bfd1cb0dcd8c4acb2e237133a2934dea277dd4
parent00beecfe839c878abb366b68272426ed5296bc2b
hio: Relax rules for calling GetVisibilityMapPins()

GetVisibilityMapPins() insisted on the buffer1/buffer2 being in a specific
order. This required checks at the callsite. As a subsequent patch will add
another callsite, move related logic into GetVisibilityMapPins().

Discussion: https://postgr.es/m/20230403190030[email protected]
src/backend/access/heap/hio.c