#839 filter out timescaledb internal objects

This commit is contained in:
Jan Prochazka
2024-07-24 15:31:48 +02:00
parent 315c0670d0
commit 97753e2b11
7 changed files with 12 additions and 8 deletions

View File

@@ -6,6 +6,6 @@ select
md5(view_definition) as "hash_code"
from
information_schema.views
where table_schema != 'information_schema' and table_schema != 'pg_catalog'
where table_schema != 'information_schema' and table_schema != 'pg_catalog' and table_schema !~ '^_timescaledb_'
and ('views:' || table_schema || '.' || table_name) =OBJECT_ID_CONDITION
`;