blob: 696a4f425d194c868aad1e8b53f4d3c4cd47e518 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
VACUUM;
--
-- sanity check, if we don't have indices the test will take years to
-- complete. But skip TOAST relations since they will have varying
-- names depending on the current OID counter.
--
SELECT relname, relhasindex
FROM pg_class
WHERE relhasindex AND relkind != 't'
ORDER BY relname;
|