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.
This commit is contained in:
Kevin Grittner 2013-12-11 08:53:03 -06:00
parent e5dc4cc24d
commit 09df854b8a
2 changed files with 2 additions and 2 deletions

View File

@ -391,7 +391,7 @@ SELECT * FROM hogeview WHERE i < 10;
---
(0 rows)
VACUUM ANALYZE;
VACUUM ANALYZE hogeview;
SELECT * FROM hogeview WHERE i < 10;
i
---

View File

@ -130,7 +130,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;