summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2009-06-12 18:49:55 +0000
committerGreg Sabino Mullane2009-06-12 18:49:55 +0000
commit05abcfd8c242baced7fc65866284f07c833c771e (patch)
tree2dc12297630495d7247dbf860268a5e5b838388e /check_postgres.pl
parent3ada470c64c65094346c8382a11bd29b1f523559 (diff)
Fix incorrect version for txn_idle in docs. Thanks to Robert Treat for spotting this.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 344af8dbd..59fbf8188 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -7047,7 +7047,8 @@ be provided (there are no defaults). Valid units are 'seconds', 'minutes', 'hour
or 'days'. Each may be written singular or abbreviated to just the first letter.
If no units are given, the units are assumed to be seconds.
-This action requires Postgres 8.3 or better.
+This action requires Postgres 8.0 or better. Additionally, if the version is less than 8.3,
+the 'stats_command_string' parameter must be set to 'on'.
Example 1: Give a warning if any connection has been idle in transaction for more than 15 seconds: