diff options
author | Greg Sabino Mullane | 2010-03-02 16:08:52 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2010-03-02 16:08:52 +0000 |
commit | 358a4233a9fdef37377dd429568e7435858cb6df (patch) | |
tree | 579dc7749dc7cd185d765fe5ddcf3137fe51ad3c /check_postgres.pl | |
parent | efd7b16dab7fc2aaa6c48caa223d09d6429aae0d (diff) |
Don't apply a LIMIT when using --exclude on the bloat action (Marti Raudsepp)
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 2729ce6a7..f8b9b5428 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -2675,7 +2675,7 @@ FROM ( ) AS sml }; - if (! defined $opt{include}) { + if (! defined $opt{include} and ! defined $opt{exclude}) { $SQL .= " WHERE sml.relpages - otta > $MINPAGES OR ipages - iotta > $MINIPAGES"; $SQL .= " ORDER BY wastedbytes DESC LIMIT $LIMIT"; } @@ -8148,6 +8148,7 @@ Items not specifically attributed are by Greg Sabino Mullane. =item B<Version 2.15.0> + Don't apply a LIMIT when using --exclude on the bloat action (Marti Raudsepp) Change the output of query_time to show pid,user,port, and address (Giles Westwood) Fix to show database properly when using slony_status (Guillaume Lelarge) |