PostgreSQL Source Code git master
PruneState Struct Reference

Data Fields

GlobalVisStatevistest
 
bool mark_unused_now
 
bool attempt_freeze
 
struct VacuumCutoffscutoffs
 
TransactionId new_prune_xid
 
TransactionId latest_xid_removed
 
int nredirected
 
int ndead
 
int nunused
 
int nfrozen
 
OffsetNumber redirected [MaxHeapTuplesPerPage *2]
 
OffsetNumber nowdead [MaxHeapTuplesPerPage]
 
OffsetNumber nowunused [MaxHeapTuplesPerPage]
 
HeapTupleFreeze frozen [MaxHeapTuplesPerPage]
 
int nroot_items
 
OffsetNumber root_items [MaxHeapTuplesPerPage]
 
int nheaponly_items
 
OffsetNumber heaponly_items [MaxHeapTuplesPerPage]
 
bool processed [MaxHeapTuplesPerPage+1]
 
int8 htsv [MaxHeapTuplesPerPage+1]
 
HeapPageFreeze pagefrz
 
int ndeleted
 
int live_tuples
 
int recently_dead_tuples
 
bool hastup
 
int lpdead_items
 
OffsetNumberdeadoffsets
 
TransactionId frz_conflict_horizon
 
bool all_visible
 
bool all_frozen
 
TransactionId visibility_cutoff_xid
 

Detailed Description

Definition at line 34 of file pruneheap.c.

Field Documentation

◆ all_frozen

bool PruneState::all_frozen

◆ all_visible

bool PruneState::all_visible

◆ attempt_freeze

bool PruneState::attempt_freeze

◆ cutoffs

◆ deadoffsets

OffsetNumber* PruneState::deadoffsets

◆ frozen

◆ frz_conflict_horizon

TransactionId PruneState::frz_conflict_horizon

◆ hastup

◆ heaponly_items

OffsetNumber PruneState::heaponly_items[MaxHeapTuplesPerPage]

Definition at line 79 of file pruneheap.c.

Referenced by prune_freeze_plan().

◆ htsv

int8 PruneState::htsv[MaxHeapTuplesPerPage+1]

◆ latest_xid_removed

TransactionId PruneState::latest_xid_removed

◆ live_tuples

int PruneState::live_tuples

◆ lpdead_items

◆ mark_unused_now

bool PruneState::mark_unused_now

◆ ndead

int PruneState::ndead

◆ ndeleted

◆ new_prune_xid

TransactionId PruneState::new_prune_xid

◆ nfrozen

◆ nheaponly_items

int PruneState::nheaponly_items

Definition at line 78 of file pruneheap.c.

Referenced by prune_freeze_plan(), and prune_freeze_setup().

◆ nowdead

OffsetNumber PruneState::nowdead[MaxHeapTuplesPerPage]

Definition at line 61 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_record_dead().

◆ nowunused

OffsetNumber PruneState::nowunused[MaxHeapTuplesPerPage]

Definition at line 62 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_record_unused().

◆ nredirected

int PruneState::nredirected

◆ nroot_items

int PruneState::nroot_items

Definition at line 76 of file pruneheap.c.

Referenced by prune_freeze_plan(), and prune_freeze_setup().

◆ nunused

int PruneState::nunused

◆ pagefrz

◆ processed

◆ recently_dead_tuples

int PruneState::recently_dead_tuples

◆ redirected

OffsetNumber PruneState::redirected[MaxHeapTuplesPerPage *2]

Definition at line 60 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_record_redirect().

◆ root_items

OffsetNumber PruneState::root_items[MaxHeapTuplesPerPage]

Definition at line 77 of file pruneheap.c.

Referenced by prune_freeze_plan().

◆ visibility_cutoff_xid

TransactionId PruneState::visibility_cutoff_xid

◆ vistest

GlobalVisState* PruneState::vistest

Definition at line 42 of file pruneheap.c.

Referenced by heap_prune_satisfies_vacuum(), and prune_freeze_setup().


The documentation for this struct was generated from the following file: