Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 80811f9

Browse files
committed
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.
1 parent 9d2e07f commit 80811f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/expected/matview.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ SELECT * FROM hogeview WHERE i < 10;
377377
---
378378
(0 rows)
379379

380-
VACUUM ANALYZE;
380+
VACUUM ANALYZE hogeview;
381381
SELECT * FROM hogeview WHERE i < 10;
382382
i
383383
---

src/test/regress/sql/matview.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ CREATE INDEX hogeviewidx ON hogeview (i);
121121
DELETE FROM hoge;
122122
REFRESH MATERIALIZED VIEW hogeview;
123123
SELECT * FROM hogeview WHERE i < 10;
124-
VACUUM ANALYZE;
124+
VACUUM ANALYZE hogeview;
125125
SELECT * FROM hogeview WHERE i < 10;
126126
DROP TABLE hoge CASCADE;
127127

0 commit comments

Comments
 (0)