diff options
author | Stas Vitkovsky | 2011-07-11 14:23:22 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2011-07-11 14:23:22 +0000 |
commit | b3b54eebaf08c97346d98288a3b385d9a13abc98 (patch) | |
tree | 7bedb024610321c60b731ab4e92b87d7315d6995 /check_postgres.pl | |
parent | 837a1ab8b24fc81fbde70f755d32020cd7333cf4 (diff) |
Fix typo in dbstats action.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 36f04d1aa..13a0dfd13 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -4051,7 +4051,7 @@ sub check_dbstats { }; } $SQL .= q{ FROM pg_stat_database}; - (my $SQL2 = $SQL) =~ s/AS seq_tup_read/AS seq_tup_read, tup_returned AS ret, tup_fetched AS fetch, tup_inserted AS ins, tup_updated AS upd, tup_deleted AS del/; + (my $SQL2 = $SQL) =~ s/AS seqtupread/AS seqtupread, tup_returned AS ret, tup_fetched AS fetch, tup_inserted AS ins, tup_updated AS upd, tup_deleted AS del/; my $info = run_command($SQL, {regex => qr{\w}, version => [ ">8.2 $SQL2" ] } ); |