PostgreSQL Source Code  git master
pgssSharedState Struct Reference

Data Fields

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 239 of file pg_stat_statements.c.

Field Documentation

◆ cur_median_usage

double pgssSharedState::cur_median_usage

Definition at line 242 of file pg_stat_statements.c.

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

◆ extent

Size pgssSharedState::extent

◆ gc_count

int pgssSharedState::gc_count

◆ lock

LWLock* pgssSharedState::lock

◆ mean_query_len

Size pgssSharedState::mean_query_len

Definition at line 243 of file pg_stat_statements.c.

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

◆ mutex

◆ n_writers

int pgssSharedState::n_writers

◆ stats

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