Madison Digital Garden

Search

SearchSearch

Postgres Code Reference

Nov 21, 2024, 1 min read

  • #database
  • #db-postgresql

Story §

  • Sequential Scan Callstack

src/backend §

access §

heapam (Heap Access Method) §

  • Funcs
    • heap_beginscan
    • heap_fetch_next_buffer
    • heap_getnextslot
    • heapgettup_pagemode
    • initscan

htup (Heap Tuple) §

  • Types
    • HeapTupleData
    • HeapTupleHeaderData

tableam (Table Access Method) §

  • Funcs
    • table_beginscan
    • table_scan_getnextslot

tupdesc (Tuple Descriptor) §

  • Types
    • TupleDesc
  • Funcs
    • CreateTemplateTupleDesc
    • TupleDescInitEntry

catalog §

  • Types
    • Form_pg_attribute

commands §

  • Funcs
    • BuildDescForRelation

executor §

  • Types
    • TupleTableSlot
  • Funcs
    • ExecScan
    • ExecScanFetch
    • ExecSeqScan
    • ExecStoreBufferHeapTuple
    • SeqNext
    • tts_buffer_heap_store_tuple

postmaster §

  • Funcs
    • BackendStartup

storage §

aio §

  • Types
    • ReadStream
  • Funcs
    • read_stream_begin_relation
    • read_stream_get_block
    • read_stream_next_buffer

buffer §

  • Types
    • Buffer
    • BufferDesc
    • BufferStrategyControl
  • Funcs
    • ClockSweepTick
    • GetVictimBuffer
    • InvalidateVictimBuffer
    • StrategyGetBuffer

Graph View

  • Story
  • src/backend
  • access
  • catalog
  • commands
  • executor
  • postmaster
  • storage

Backlinks

  • (Garden) Database

Created with Quartz v4.1.0, © 2025

  • GitHub
  • LinkedIn
  • Email