Static mz_catalog::builtin::PG_NAMESPACE_ALL_DATABASES
source · pub static PG_NAMESPACE_ALL_DATABASES: LazyLock<BuiltinView>
Expand description
Peeled version of PG_NAMESPACE
:
- This doesn’t check
mz_schemas.database_id IS NULL OR d.name = pg_catalog.current_database()
, in order to make this view indexable. - This has the database name as an extra column, so that downstream views can check it against
current_database()
.