postgres - show system databases when using separate schemas

This commit is contained in:
SPRINX0\prochazka
2024-09-20 14:52:29 +02:00
parent 8aac9cf59d
commit d3a24627dd
8 changed files with 10 additions and 18 deletions

View File

@@ -11,10 +11,7 @@ select
column_default as "default_value"
from information_schema.columns
where
table_schema <> 'information_schema'
and table_schema <> 'pg_catalog'
and table_schema !~ '^pg_toast'
and table_schema !~ '^_timescaledb_'
table_schema !~ '^_timescaledb_'
and (
('tables:' || table_schema || '.' || table_name) =OBJECT_ID_CONDITION
or