Check GRANTs in update tests

This commit is contained in:
Sven Klemm 2018-10-09 20:46:36 +02:00 committed by Sven Klemm
parent aea7c7edac
commit 5883d0d833
2 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,7 @@
GRANT USAGE ON SCHEMA _timescaledb_cache TO PUBLIC;
GRANT SELECT ON ALL TABLES IN SCHEMA _timescaledb_internal TO PUBLIC;
GRANT SELECT ON ALL TABLES IN SCHEMA _timescaledb_catalog TO PUBLIC;
GRANT SELECT ON TABLE _timescaledb_internal.bgw_job_stat TO PUBLIC;
GRANT SELECT ON ALL SEQUENCES IN SCHEMA _timescaledb_catalog TO PUBLIC;
GRANT SELECT ON ALL SEQUENCES IN SCHEMA _timescaledb_config TO PUBLIC;
GRANT SELECT ON ALL SEQUENCES IN SCHEMA _timescaledb_internal TO PUBLIC;

View File

@ -6,6 +6,11 @@
\d+ _timescaledb_catalog.chunk_index
\d+ _timescaledb_catalog.tablespace
\z _timescaledb_cache.*
\z _timescaledb_catalog.*
\z _timescaledb_config.*
\z _timescaledb_internal.*
\di+ _timescaledb_catalog.*
-- Do not list sequence details because of potentially different state
-- of the sequence between updated and restored versions of a database