summaryrefslogtreecommitdiff
path: root/src/common/hmac.c
diff options
context:
space:
mode:
authorAndres Freund2022-01-17 23:31:28 +0000
committerAndres Freund2022-01-17 23:35:11 +0000
commitc702d656a28386cf5f642206b495c66775afc4ea (patch)
treeef659920a7e13699815946d52a7d433ad57e2627 /src/common/hmac.c
parent35b2803cf29a39b1adaf55b8b376b965837e9c50 (diff)
heap pruning: Only call BufferGetBlockNumber() once.
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.de
Diffstat (limited to 'src/common/hmac.c')
0 files changed, 0 insertions, 0 deletions