mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
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:
parent
9d2e07fecd
commit
80811f94eb
@ -377,7 +377,7 @@ SELECT * FROM hogeview WHERE i < 10;
|
||||
---
|
||||
(0 rows)
|
||||
|
||||
VACUUM ANALYZE;
|
||||
VACUUM ANALYZE hogeview;
|
||||
SELECT * FROM hogeview WHERE i < 10;
|
||||
i
|
||||
---
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user