mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-19 04:03:06 +08:00
Fix privileges for job_errors table in update script
This commit is contained in:
parent
cdf8676689
commit
0a3615fc70
@ -0,0 +1 @@
|
|||||||
|
GRANT SELECT ON _timescaledb_internal.job_errors to PUBLIC;
|
@ -56,7 +56,7 @@ INSERT INTO _timescaledb_internal.saved_privs
|
|||||||
WHERE relkind IN ('r', 'v') AND nspname IN ('_timescaledb_catalog', '_timescaledb_config')
|
WHERE relkind IN ('r', 'v') AND nspname IN ('_timescaledb_catalog', '_timescaledb_config')
|
||||||
OR nspname = '_timescaledb_internal'
|
OR nspname = '_timescaledb_internal'
|
||||||
AND relname IN ('hypertable_chunk_local_size', 'compressed_chunk_stats',
|
AND relname IN ('hypertable_chunk_local_size', 'compressed_chunk_stats',
|
||||||
'bgw_job_stat', 'bgw_policy_chunk_stats')
|
'bgw_job_stat', 'bgw_policy_chunk_stats', 'job_errors')
|
||||||
ON CONFLICT DO NOTHING;
|
ON CONFLICT DO NOTHING;
|
||||||
|
|
||||||
-- The above is good enough for tables and views. However sequences need to
|
-- The above is good enough for tables and views. However sequences need to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user