git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 35b2803) | patch
heap pruning: Only call BufferGetBlockNumber() once.
2022年1月17日 23:31:28 +0000 (15:31 -0800)
2022年1月17日 23:35:11 +0000 (15:35 -0800)
commit c702d656a28386cf5f642206b495c66775afc4ea
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
src/backend/access/heap/pruneheap.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /