PostgreSQL Source Code  git master
AutoPrewarmSharedState Struct Reference

Data Fields

LWLock lock
 
pid_t bgworker_pid
 
pid_t pid_using_dumpfile
 
dsm_handle block_info_handle
 
Oid database
 
int prewarm_start_idx
 
int prewarm_stop_idx
 
int prewarmed_blocks
 

Detailed Description

Definition at line 68 of file autoprewarm.c.

Field Documentation

◆ bgworker_pid

pid_t AutoPrewarmSharedState::bgworker_pid

◆ block_info_handle

dsm_handle AutoPrewarmSharedState::block_info_handle

Definition at line 75 of file autoprewarm.c.

Referenced by apw_load_buffers(), and autoprewarm_database_main().

◆ database

Oid AutoPrewarmSharedState::database

Definition at line 76 of file autoprewarm.c.

Referenced by apw_load_buffers(), and autoprewarm_database_main().

◆ lock

LWLock AutoPrewarmSharedState::lock

◆ pid_using_dumpfile

pid_t AutoPrewarmSharedState::pid_using_dumpfile

Definition at line 72 of file autoprewarm.c.

Referenced by apw_detach_shmem(), apw_dump_now(), apw_init_shmem(), and apw_load_buffers().

◆ prewarm_start_idx

int AutoPrewarmSharedState::prewarm_start_idx

Definition at line 77 of file autoprewarm.c.

Referenced by apw_load_buffers(), and autoprewarm_database_main().

◆ prewarm_stop_idx

int AutoPrewarmSharedState::prewarm_stop_idx

Definition at line 78 of file autoprewarm.c.

Referenced by apw_load_buffers().

◆ prewarmed_blocks

int AutoPrewarmSharedState::prewarmed_blocks

Definition at line 79 of file autoprewarm.c.

Referenced by apw_load_buffers(), and autoprewarm_database_main().


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