presto-main/src/main/java/io/prestosql/metadata/MetadataManager.java/MetadataManager/getOptionalCatalogMetadata
class MetadataManager:    private Optional<CatalogMetadata> getOptionalCatalogMetadata(Session session, String catalogName)
    {
        return transactionManager.getOptionalCatalogMetadata(session.getRequiredTransactionId(), catalogName);
    }