PostgreSQL Source Code
git master
|
#include <pgstat_internal.h>
Data Fields | |
bool | fixed_amount:1 |
bool | accessed_across_databases:1 |
uint32 | shared_size |
uint32 | snapshot_ctl_off |
uint32 | shared_ctl_off |
uint32 | shared_data_off |
uint32 | shared_data_len |
uint32 | pending_size |
void(* | init_backend_cb )(void) |
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(* | init_shmem_cb )(void *stats) |
bool(* | flush_fixed_cb )(bool nowait) |
bool(* | have_fixed_pending_cb )(void) |
void(* | reset_all_cb )(TimestampTz ts) |
void(* | snapshot_cb )(void) |
const char *const | name |
Definition at line 183 of file pgstat_internal.h.
bool PgStat_KindInfo::accessed_across_databases |
Definition at line 195 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 248 of file pgstat_internal.h.
Referenced by pgstat_delete_pending_entry().
bool PgStat_KindInfo::fixed_amount |
Definition at line 189 of file pgstat_internal.h.
Referenced by pgstat_build_snapshot(), pgstat_build_snapshot_fixed(), pgstat_fetch_entry(), pgstat_flush_pending_entries(), pgstat_init_snapshot_fixed(), pgstat_read_statsfile(), pgstat_register_kind(), pgstat_report_stat(), pgstat_reset_after_failure(), pgstat_reset_of_kind(), pgstat_write_statsfile(), StatsShmemInit(), and StatsShmemSize().
Definition at line 274 of file pgstat_internal.h.
Referenced by pgstat_report_stat().
bool(* PgStat_KindInfo::flush_pending_cb) (PgStat_EntryRef *sr, bool nowait) |
Definition at line 243 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 260 of file pgstat_internal.h.
Referenced by pgstat_read_statsfile().
bool(* PgStat_KindInfo::have_fixed_pending_cb) (void) |
Definition at line 280 of file pgstat_internal.h.
Referenced by pgstat_report_stat().
void(* PgStat_KindInfo::init_backend_cb) (void) |
Definition at line 237 of file pgstat_internal.h.
Referenced by pgstat_initialize().
void(* PgStat_KindInfo::init_shmem_cb) (void *stats) |
Definition at line 267 of file pgstat_internal.h.
Referenced by StatsShmemInit().
const char* const PgStat_KindInfo::name |
Definition at line 293 of file pgstat_internal.h.
Referenced by pgstat_drop_entry_internal(), and pgstat_register_kind().
uint32 PgStat_KindInfo::pending_size |
Definition at line 231 of file pgstat_internal.h.
Referenced by pgstat_prep_pending_entry().
void(* PgStat_KindInfo::reset_all_cb) (TimestampTz ts) |
Definition at line 285 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 253 of file pgstat_internal.h.
Referenced by shared_stat_reset_contents().
uint32 PgStat_KindInfo::shared_ctl_off |
Definition at line 214 of file pgstat_internal.h.
Referenced by pgstat_read_statsfile(), and StatsShmemInit().
uint32 PgStat_KindInfo::shared_data_len |
Definition at line 223 of file pgstat_internal.h.
Referenced by pgstat_fetch_entry(), pgstat_get_entry_len(), pgstat_init_snapshot_fixed(), pgstat_read_statsfile(), and pgstat_write_statsfile().
uint32 PgStat_KindInfo::shared_data_off |
Definition at line 222 of file pgstat_internal.h.
Referenced by pgstat_get_entry_data(), and pgstat_read_statsfile().
uint32 PgStat_KindInfo::shared_size |
Definition at line 202 of file pgstat_internal.h.
Referenced by pgstat_build_snapshot(), pgstat_register_kind(), StatsShmemInit(), and StatsShmemSize().
void(* PgStat_KindInfo::snapshot_cb) (void) |
Definition at line 290 of file pgstat_internal.h.
Referenced by pgstat_build_snapshot(), and pgstat_build_snapshot_fixed().
uint32 PgStat_KindInfo::snapshot_ctl_off |
Definition at line 208 of file pgstat_internal.h.
Referenced by pgstat_write_statsfile().
void(* PgStat_KindInfo::to_serialized_name) (const PgStat_HashKey *key, const PgStatShared_Common *header, NameData *name) |
Definition at line 258 of file pgstat_internal.h.
Referenced by pgstat_write_statsfile().