PostgreSQL Source Code  git master
PruneState Struct Reference

Data Fields

GlobalVisStatevistest
 
bool mark_unused_now
 
bool 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
 
bool all_visible
 
bool all_frozen
 
TransactionId visibility_cutoff_xid
 

Detailed Description

Definition at line 33 of file pruneheap.c.

Field Documentation

◆ all_frozen

bool PruneState::all_frozen

◆ all_visible

bool PruneState::all_visible

◆ cutoffs

struct VacuumCutoffs* PruneState::cutoffs

◆ deadoffsets

OffsetNumber* PruneState::deadoffsets

◆ freeze

bool PruneState::freeze

◆ frozen

◆ hastup

◆ heaponly_items

OffsetNumber PruneState::heaponly_items[MaxHeapTuplesPerPage]

Definition at line 78 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze().

◆ htsv

◆ latest_xid_removed

TransactionId PruneState::latest_xid_removed

Definition at line 53 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_chain().

◆ live_tuples

int PruneState::live_tuples

◆ lpdead_items

int PruneState::lpdead_items

◆ mark_unused_now

bool PruneState::mark_unused_now

Definition at line 43 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_record_dead_or_unused().

◆ ndead

int PruneState::ndead

Definition at line 55 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_record_dead().

◆ ndeleted

int PruneState::ndeleted

◆ new_prune_xid

TransactionId PruneState::new_prune_xid

Definition at line 52 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_record_prunable().

◆ nfrozen

int PruneState::nfrozen

◆ nheaponly_items

int PruneState::nheaponly_items

Definition at line 77 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze().

◆ nowdead

OffsetNumber PruneState::nowdead[MaxHeapTuplesPerPage]

Definition at line 60 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_record_dead().

◆ nowunused

OffsetNumber PruneState::nowunused[MaxHeapTuplesPerPage]

Definition at line 61 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_record_unused().

◆ nredirected

int PruneState::nredirected

Definition at line 54 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_record_redirect().

◆ nroot_items

int PruneState::nroot_items

Definition at line 75 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze().

◆ nunused

int PruneState::nunused

Definition at line 56 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_record_unused().

◆ pagefrz

HeapPageFreeze PruneState::pagefrz

◆ processed

◆ recently_dead_tuples

int PruneState::recently_dead_tuples

◆ redirected

OffsetNumber PruneState::redirected[MaxHeapTuplesPerPage *2]

Definition at line 59 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 76 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze().

◆ visibility_cutoff_xid

TransactionId PruneState::visibility_cutoff_xid

◆ vistest

GlobalVisState* PruneState::vistest

Definition at line 41 of file pruneheap.c.

Referenced by heap_page_prune_and_freeze(), and heap_prune_satisfies_vacuum().


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