Skip to content
Snippets Groups Projects
Commit 09df854b authored by Kevin Grittner's avatar Kevin Grittner
Browse files

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.
parent e5dc4cc2
No related branches found
No related tags found
No related merge requests found
......@@ -391,7 +391,7 @@ SELECT * FROM hogeview WHERE i < 10;
---
(0 rows)
VACUUM ANALYZE;
VACUUM ANALYZE hogeview;
SELECT * FROM hogeview WHERE i < 10;
i
---
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment