MCPcopy Create free account
hub / github.com/apache/cloudberry / ReadBuffer

Function ReadBuffer

src/backend/storage/buffer/bufmgr.c:780–784  ·  view source on GitHub ↗

* ReadBuffer -- a shorthand for ReadBufferExtended, for reading from main * fork with RBM_NORMAL mode and default strategy. */

Source from the content-addressed store, hash-verified

778 * fork with RBM_NORMAL mode and default strategy.
779 */
780Buffer
781ReadBuffer(Relation reln, BlockNumber blockNum)
782{
783 return ReadBufferExtended(reln, MAIN_FORKNUM, blockNum, RBM_NORMAL, NULL);
784}
785
786/*
787 * ReadBufferExtended -- returns a buffer containing the requested

Callers 15

pg_visibilityFunction · 0.85
heap_force_commonFunction · 0.85
readindexFunction · 0.85
bt_page_stats_internalFunction · 0.85
bt_page_items_internalFunction · 0.85
bt_metapFunction · 0.85
brin_revmap_chainFunction · 0.85
bm_metapFunction · 0.85
bm_lov_page_itemsFunction · 0.85
bm_bitmap_page_headerFunction · 0.85
bm_bitmap_page_itemsFunction · 0.85
pgstatginindex_internalFunction · 0.85

Calls 1

ReadBufferExtendedFunction · 0.85

Tested by

no test coverage detected