projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ada470
)
Fix incorrect version for txn_idle in docs. Thanks to Robert Treat for spotting this.
author
Greg Sabino Mullane
<
[email protected]
>
Fri, 12 Jun 2009 18:49:55 +0000
(14:49 -0400)
committer
Greg Sabino Mullane
<
[email protected]
>
Fri, 12 Jun 2009 18:49:55 +0000
(14:49 -0400)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 344af8dbde4877c7da0e6bfc82883959973d77a8..59fbf81884d70c4bb235a676e068c761c1f378ff 100755
(executable)
--- 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: