[check_postgres] [commit] Global vacuum in case brand new cluster.

check_postgres at bucardo.org check_postgres at bucardo.org
Thu Apr 23 17:38:49 UTC 2009


Committed by Greg Sabino Mullane <greg at endpoint.com>

Global vacuum in case brand new cluster.

---
 t/02_last_vacuum.t |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/t/02_last_vacuum.t b/t/02_last_vacuum.t
index e8c1408..4527daf 100644
--- a/t/02_last_vacuum.t
+++ b/t/02_last_vacuum.t
@@ -54,6 +54,7 @@ like ($cp->run(qq{-w 0 --includeuser=gandalf}), qr{No matching.*user}, $t);
 
 local $dbh->{Warn};
 local $dbh->{AutoCommit} = 1;
+$dbh->do('VACUUM');
 $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