diff options
author | Greg Sabino Mullane | 2010-04-07 15:36:02 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2010-04-07 15:36:02 +0000 |
commit | b64b8fd8c25c45b73fd9b232f45e0a9c926c78b1 (patch) | |
tree | 9b3eb30e2db7fc74784e40e86546cb8cfa3af75a | |
parent | 56b1a6fe95c368f641f6ea882731f74115db2d2b (diff) |
Clarify checkpoint docs.
-rwxr-xr-x | check_postgres.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 1c306f266..2552f4d94 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -7151,10 +7151,10 @@ times larger the relation is compared to how large it should be), just pass in C =head2 B<checkpoint> (C<symlink: check_postgres_checkpoint>) Determines how long since the last checkpoint has -been run. This must run on the same server as the database that is being checked. This check is -meant to run on a "warm standby" server that is actively processing shipped WAL files, and is meant -to check that your warm standby is truly 'warm'. The data directory must be set, either by the -environment variable C<PGDATA>, or passing +been run. This must run on the same server as the database that is being checked (e.g. the -h +flag will not work). This check is meant to run on a "warm standby" server that is actively +processing shipped WAL files, and is meant to check that your warm standby is truly 'warm'. +The data directory must be set, either by the environment variable C<PGDATA>, or passing the C<--datadir> argument. It returns the number of seconds since the last checkpoint was run, as determined by parsing the call to C<pg_controldata>. Because of this, the pg_controldata executable must be available in the current path. Alternatively, you can |