Static mz_catalog::builtin::PG_DESCRIPTION_ALL_DATABASES

source ·
pub static PG_DESCRIPTION_ALL_DATABASES: LazyLock<BuiltinView>
Expand description

Peeled version of PG_DESCRIPTION:

  • 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 2 extra columns for the database names, so that downstream views can check them against current_database().