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:
fdc50a8
)
last_vacuum and last_analyze only available in 8.2. Thanks to Robert Treat.
author
Greg Sabino Mullane
<greg@endpoint.com>
Sun, 9 Dec 2007 18:11:55 +0000
(13:11 -0500)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Sun, 9 Dec 2007 18:11:55 +0000
(13:11 -0500)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 576a0493dc70abebf25e8ec25a8b139eea98ff2c..5c4ba71dc5db1074801b290f4bb1e19338efd423 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-253,8
+253,8
@@
my $checksumre = qr{^[a-f0-9]{32}$};
## If in test mode, verify that we can run each requested action
my %testaction = (
- last_vacuum => 'ON: stats_row_level',
- last_analyze => 'ON: stats_row_level',
+ last_vacuum => 'ON: stats_row_level
VERSION: 8.2
',
+ last_analyze => 'ON: stats_row_level
VERSION: 8.2
',
database_size => 'VERSION: 8.1',
relation_size => 'VERSION: 8.1',
table_size => 'VERSION: 8.1',