PostgreSQL Source Code  git master
PgStat_KindInfo Struct Reference

#include <pgstat_internal.h>

Data Fields

bool fixed_amount:1
 
bool accessed_across_databases:1
 
bool named_on_disk:1
 
uint32 shared_size
 
uint32 shared_data_off
 
uint32 shared_data_len
 
uint32 pending_size
 
bool(* flush_pending_cb )(PgStat_EntryRef *sr, bool nowait)
 
void(* delete_pending_cb )(PgStat_EntryRef *sr)
 
void(* reset_timestamp_cb )(PgStatShared_Common *header, TimestampTz ts)
 
void(* to_serialized_name )(const PgStatShared_Common *header, NameData *name)
 
bool(* from_serialized_name )(const NameData *name, PgStat_HashKey *key)
 
void(* reset_all_cb )(TimestampTz ts)
 
void(* snapshot_cb )(void)
 
const char *const name
 

Detailed Description

Definition at line 183 of file pgstat_internal.h.

Field Documentation

◆ accessed_across_databases

bool PgStat_KindInfo::accessed_across_databases

Definition at line 195 of file pgstat_internal.h.

Referenced by pgstat_build_snapshot(), and pgstat_reset().

◆ delete_pending_cb

void(* PgStat_KindInfo::delete_pending_cb) (PgStat_EntryRef *sr)

Definition at line 235 of file pgstat_internal.h.

Referenced by pgstat_delete_pending_entry().

◆ fixed_amount

◆ flush_pending_cb

bool(* PgStat_KindInfo::flush_pending_cb) (PgStat_EntryRef *sr, bool nowait)

Definition at line 230 of file pgstat_internal.h.

Referenced by pgstat_flush_pending_entries().

◆ from_serialized_name

bool(* PgStat_KindInfo::from_serialized_name) (const NameData *name, PgStat_HashKey *key)

Definition at line 246 of file pgstat_internal.h.

Referenced by pgstat_read_statsfile().

◆ name

const char* const PgStat_KindInfo::name

Definition at line 259 of file pgstat_internal.h.

◆ named_on_disk

bool PgStat_KindInfo::named_on_disk

Definition at line 201 of file pgstat_internal.h.

◆ pending_size

uint32 PgStat_KindInfo::pending_size

Definition at line 224 of file pgstat_internal.h.

Referenced by pgstat_prep_pending_entry().

◆ reset_all_cb

void(* PgStat_KindInfo::reset_all_cb) (TimestampTz ts)

Definition at line 251 of file pgstat_internal.h.

Referenced by pgstat_reset_after_failure(), and pgstat_reset_of_kind().

◆ reset_timestamp_cb

void(* PgStat_KindInfo::reset_timestamp_cb) (PgStatShared_Common *header, TimestampTz ts)

Definition at line 240 of file pgstat_internal.h.

Referenced by shared_stat_reset_contents().

◆ shared_data_len

uint32 PgStat_KindInfo::shared_data_len

Definition at line 216 of file pgstat_internal.h.

Referenced by pgstat_fetch_entry(), and pgstat_get_entry_len().

◆ shared_data_off

uint32 PgStat_KindInfo::shared_data_off

Definition at line 215 of file pgstat_internal.h.

Referenced by pgstat_get_entry_data().

◆ shared_size

uint32 PgStat_KindInfo::shared_size

Definition at line 207 of file pgstat_internal.h.

Referenced by pgstat_build_snapshot().

◆ snapshot_cb

void(* PgStat_KindInfo::snapshot_cb) (void)

Definition at line 256 of file pgstat_internal.h.

Referenced by pgstat_build_snapshot(), and pgstat_build_snapshot_fixed().

◆ to_serialized_name

void(* PgStat_KindInfo::to_serialized_name) (const PgStatShared_Common *header, NameData *name)

Definition at line 245 of file pgstat_internal.h.

Referenced by pgstat_write_statsfile().


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