PostgreSQL Source Code
git master
|
#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 PgStat_HashKey *key, 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 |
Definition at line 182 of file pgstat_internal.h.
bool PgStat_KindInfo::accessed_across_databases |
Definition at line 194 of file pgstat_internal.h.
Referenced by pgstat_build_snapshot(), and pgstat_reset().
void(* PgStat_KindInfo::delete_pending_cb) (PgStat_EntryRef *sr) |
Definition at line 234 of file pgstat_internal.h.
Referenced by pgstat_delete_pending_entry().
bool PgStat_KindInfo::fixed_amount |
Definition at line 188 of file pgstat_internal.h.
Referenced by pgstat_build_snapshot(), pgstat_build_snapshot_fixed(), pgstat_fetch_entry(), pgstat_flush_pending_entries(), pgstat_reset_after_failure(), and pgstat_reset_of_kind().
bool(* PgStat_KindInfo::flush_pending_cb) (PgStat_EntryRef *sr, bool nowait) |
Definition at line 229 of file pgstat_internal.h.
Referenced by pgstat_flush_pending_entries().
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().
const char* const PgStat_KindInfo::name |
Definition at line 259 of file pgstat_internal.h.
bool PgStat_KindInfo::named_on_disk |
Definition at line 200 of file pgstat_internal.h.
uint32 PgStat_KindInfo::pending_size |
Definition at line 223 of file pgstat_internal.h.
Referenced by pgstat_prep_pending_entry().
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().
void(* PgStat_KindInfo::reset_timestamp_cb) (PgStatShared_Common *header, TimestampTz ts) |
Definition at line 239 of file pgstat_internal.h.
Referenced by shared_stat_reset_contents().
uint32 PgStat_KindInfo::shared_data_len |
Definition at line 215 of file pgstat_internal.h.
Referenced by pgstat_fetch_entry(), and pgstat_get_entry_len().
uint32 PgStat_KindInfo::shared_data_off |
Definition at line 214 of file pgstat_internal.h.
Referenced by pgstat_get_entry_data().
uint32 PgStat_KindInfo::shared_size |
Definition at line 206 of file pgstat_internal.h.
Referenced by pgstat_build_snapshot().
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().
void(* PgStat_KindInfo::to_serialized_name) (const PgStat_HashKey *key, const PgStatShared_Common *header, NameData *name) |
Definition at line 244 of file pgstat_internal.h.
Referenced by pgstat_write_statsfile().