From 9940b6f50fb8b3e9ebf38a80ce755c3d85182ba6 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Thu, 23 Apr 2009 13:35:42 -0400 Subject: [PATCH] ANALYZE first, in case this is a brand new cluster for this test. --- t/02_last_analyze.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/02_last_analyze.t b/t/02_last_analyze.t index 912dd15cd..9eef6f8dd 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(); -- 2.39.5