All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sql.get_schemas_query.sql Maven / Gradle / Ivy

There is a newer version: 0.22.0
Show newest version
SELECT nspname AS TABLE_SCHEM, NULL AS TABLE_CATALOG
FROM pg_catalog.pg_namespace
WHERE nspname <> 'pg_toast'
  AND (nspname !~ '^pg_temp_'
               OR nspname = (pg_catalog.current_schemas(true))[1])
  AND (nspname !~ '^pg_toast_temp_'
               OR nspname = replace((pg_catalog.current_schemas(true))[1], 'pg_temp_', 'pg_toast_temp_'))




© 2015 - 2024 Weber Informatics LLC | Privacy Policy