[check_postgres] [commit] Remove pg_catalog specifier.
check_postgres at bucardo.org
check_postgres at bucardo.org
Mon Mar 9 16:50:35 UTC 2009
Committed by Greg Sabino Mullane <greg at endpoint.com>
Remove pg_catalog specifier.
---
check_postgres.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/check_postgres.pl b/check_postgres.pl
index 8c8176b..96ad41e 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -4353,7 +4353,7 @@ sub show_dbstats {
});
my $SQL = q{SELECT datname,numbackends,xact_commit,xact_rollback,blks_read,blks_hit};
- $SQL .= q{ FROM pg_catalog.pg_stat_database};
+ $SQL .= q{ FROM pg_stat_database};
(my $SQL2 = $SQL) =~ s/blks_hit/blks_hit,tup_returned,tup_fetched,tup_inserted,tup_updated,tup_deleted/;
my $info = run_command($SQL, {regex => qr{\w}, version => [ ">8.2 $SQL2" ] } );
--
1.6.0.5
More information about the Check_postgres
mailing list