postgre analyser supports compisite db names

This commit is contained in:
Jan Prochazka
2024-09-19 14:15:22 +02:00
parent f39ec26c29
commit b30f139b5d
27 changed files with 72 additions and 18 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' and table_schema !~ '^_timescaledb_'
where table_schema != 'information_schema' and table_schema != 'pg_catalog' and table_schema !~ '^_timescaledb_' and table_schema =SCHEMA_NAME_CONDITION
and ('views:' || table_schema || '.' || table_name) =OBJECT_ID_CONDITION
`;