|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Functions | |
| void | pgstat_report_archiver (const char *xlog, bool failed) |
| PgStat_ArchiverStats * | pgstat_fetch_stat_archiver (void) |
| void | pgstat_archiver_init_shmem_cb (void *stats) |
| void | pgstat_archiver_reset_all_cb (TimestampTz ts) |
| void | pgstat_archiver_snapshot_cb (void) |
Definition at line 66 of file pgstat_archiver.c.
References fb(), and LWLockInitialize().
| void pgstat_archiver_reset_all_cb | ( | TimestampTz | ts | ) |
Definition at line 74 of file pgstat_archiver.c.
References PgStat_ShmemControl::archiver, fb(), LW_EXCLUSIVE, LWLockAcquire(), LWLockRelease(), pgstat_copy_changecounted_stats(), pgStatLocal, and PgStat_LocalState::shmem.
Definition at line 89 of file pgstat_archiver.c.
References PgStat_ShmemControl::archiver, PgStat_Snapshot::archiver, fb(), LW_SHARED, LWLockAcquire(), LWLockRelease(), pgstat_copy_changecounted_stats(), pgStatLocal, reset(), PgStat_LocalState::shmem, and PgStat_LocalState::snapshot.
| PgStat_ArchiverStats * pgstat_fetch_stat_archiver | ( | void | ) |
Definition at line 58 of file pgstat_archiver.c.
References PgStat_Snapshot::archiver, PGSTAT_KIND_ARCHIVER, pgstat_snapshot_fixed(), pgStatLocal, and PgStat_LocalState::snapshot.
Referenced by pg_stat_get_archiver().
Definition at line 28 of file pgstat_archiver.c.
References PgStat_ShmemControl::archiver, fb(), GetCurrentTimestamp(), now(), pgstat_begin_changecount_write(), pgstat_end_changecount_write(), pgStatLocal, and PgStat_LocalState::shmem.
Referenced by pgarch_ArchiverCopyLoop().