Global vacuum in case brand new cluster.
authorGreg Sabino Mullane <greg@endpoint.com>
Thu, 23 Apr 2009 17:37:49 +0000 (13:37 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Thu, 23 Apr 2009 17:37:49 +0000 (13:37 -0400)
t/02_last_vacuum.t

index e8c1408991f69b988e484164cca98ca69be463ea..4527daf6493f52f29fff95fb34da29e1eedcfdbc 100644 (file)
@@ -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();