[check_postgres] [commit] ANALYZE first, in case this is a brand new cluster for this test.
check_postgres at bucardo.org
check_postgres at bucardo.org
Thu Apr 23 17:38:48 UTC 2009
Committed by Greg Sabino Mullane <greg at endpoint.com>
ANALYZE first, in case this is a brand new cluster for this test.
---
t/02_last_analyze.t | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/t/02_last_analyze.t b/t/02_last_analyze.t
index 912dd15..9eef6f8 100644
--- a/t/02_last_analyze.t
+++ b/t/02_last_analyze.t
@@ -53,6 +53,7 @@ $t = qq{$S flags no-match-user};
like ($cp->run(qq{-w 0 --includeuser=gandalf}), qr{No matching.*user}, $t);
local $dbh->{Warn};
+$dbh->do('ANALYZE');
$dbh->do(qq{DROP TABLE IF EXISTS $testtbl});
$dbh->do(qq{CREATE TABLE $testtbl AS SELECT 123::INTEGER AS a FROM generate_series(1,200000)});
$dbh->commit();
--
1.6.0.5
More information about the Check_postgres
mailing list