diff options
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index ca28e32f6..69e477033 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -2497,10 +2497,10 @@ FROM ( }; if (! defined $opt{include}) { - $SQL .= "WHERE sml.relpages - otta > $MINPAGES OR ipages - iotta > $MINIPAGES"; + $SQL .= " WHERE sml.relpages - otta > $MINPAGES OR ipages - iotta > $MINIPAGES"; $SQL .= " LIMIT $LIMIT"; } - $SQL .= "ORDER BY wastedbytes DESC"; + $SQL .= " ORDER BY wastedbytes DESC"; my $info = run_command($SQL); |