From 80811f94ebd7d47510e7c4aafc382babd3826d39 Mon Sep 17 00:00:00 2001 From: Kevin Grittner Date: Wed, 11 Dec 2013 08:56:02 -0600 Subject: [PATCH] Add table name to VACUUM statement in matview.c. The test only needs the one table to be vacuumed. Vacuuming the database may affect other tests. Per gripe from Tom Lane. Back-patch to 9.3, where the test was was added. --- src/test/regress/expected/matview.out | 2 +- src/test/regress/sql/matview.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/regress/expected/matview.out b/src/test/regress/expected/matview.out index 65a6bfdada..c61232fc89 100644 --- a/src/test/regress/expected/matview.out +++ b/src/test/regress/expected/matview.out @@ -377,7 +377,7 @@ SELECT * FROM hogeview WHERE i < 10; --- (0 rows) -VACUUM ANALYZE; +VACUUM ANALYZE hogeview; SELECT * FROM hogeview WHERE i < 10; i --- diff --git a/src/test/regress/sql/matview.sql b/src/test/regress/sql/matview.sql index b4be48e2ba..8b1e7349fb 100644 --- a/src/test/regress/sql/matview.sql +++ b/src/test/regress/sql/matview.sql @@ -121,7 +121,7 @@ CREATE INDEX hogeviewidx ON hogeview (i); DELETE FROM hoge; REFRESH MATERIALIZED VIEW hogeview; SELECT * FROM hogeview WHERE i < 10; -VACUUM ANALYZE; +VACUUM ANALYZE hogeview; SELECT * FROM hogeview WHERE i < 10; DROP TABLE hoge CASCADE; -- 2.40.0