SilverStripe\PostgreSQL\PostgreSQLDatabase::schemaToDatabaseName

Determines the name of the current database to be reported externally by substituting the schema name for the database name.

Should only be used when model_schema_as_database is true