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

Data Fields

LWLockPadded lock
 
double cur_median_usage
 
Size mean_query_len
 
slock_t mutex
 
Size extent
 
int n_writers
 
int gc_count
 
pgssGlobalStats stats
 

Detailed Description

Definition at line 248 of file pg_stat_statements.c.

Field Documentation

◆ cur_median_usage

double pgssSharedState::cur_median_usage

Definition at line 251 of file pg_stat_statements.c.

Referenced by entry_alloc(), entry_dealloc(), and pgss_shmem_init().

◆ extent

Size pgssSharedState::extent

◆ gc_count

int pgssSharedState::gc_count

◆ lock

LWLockPadded pgssSharedState::lock

◆ mean_query_len

Size pgssSharedState::mean_query_len

Definition at line 252 of file pg_stat_statements.c.

Referenced by entry_dealloc(), gc_qtexts(), need_gc_qtexts(), and pgss_shmem_init().

◆ mutex

◆ n_writers

int pgssSharedState::n_writers

Definition at line 255 of file pg_stat_statements.c.

Referenced by pg_stat_statements_internal(), pgss_shmem_init(), and qtext_store().

◆ stats


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