mirror of https://github.com/postgres/postgres
BufferGetBlockNumber() is not that cheap and obviously cannot change during one heap_prune_page(), so only call it once. We might be able to do better and pass the block number from the caller, but that'd be a larger change... Discussion: https://postgr.es/m/20211211045710.ljtuu4gfloh754rs@alap3.anarazel.depull/73/head
parent
35b2803cf2
commit
c702d656a2
Loading…
Reference in new issue