PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pgsa_shared_state Struct Reference

#include <pg_stash_advice.h>

Data Fields

LWLock lock
 
int dsa_tranche
 
int stash_tranche
 
int entry_tranche
 
uint64 next_stash_id
 
dsa_handle area
 
dshash_table_handle stash_hash
 
dshash_table_handle entry_hash
 
pid_t bgworker_pid
 
pg_atomic_flag stashes_ready
 
pg_atomic_uint64 change_count
 

Detailed Description

Definition at line 57 of file pg_stash_advice.h.

Field Documentation

◆ area

dsa_handle pgsa_shared_state::area

Definition at line 64 of file pg_stash_advice.h.

Referenced by pgsa_attach().

◆ bgworker_pid

pid_t pgsa_shared_state::bgworker_pid

◆ change_count

◆ dsa_tranche

int pgsa_shared_state::dsa_tranche

Definition at line 60 of file pg_stash_advice.h.

Referenced by pgsa_attach().

◆ entry_hash

dshash_table_handle pgsa_shared_state::entry_hash

Definition at line 66 of file pg_stash_advice.h.

Referenced by pgsa_attach().

◆ entry_tranche

int pgsa_shared_state::entry_tranche

Definition at line 62 of file pg_stash_advice.h.

Referenced by pgsa_attach().

◆ lock

◆ next_stash_id

uint64 pgsa_shared_state::next_stash_id

Definition at line 63 of file pg_stash_advice.h.

Referenced by pgsa_create_stash(), and pgsa_reset_all_stashes().

◆ stash_hash

dshash_table_handle pgsa_shared_state::stash_hash

Definition at line 65 of file pg_stash_advice.h.

Referenced by pgsa_attach().

◆ stash_tranche

int pgsa_shared_state::stash_tranche

Definition at line 61 of file pg_stash_advice.h.

Referenced by pgsa_attach().

◆ stashes_ready


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