def METHOD_NAME(cls, config, application_name=None, validate_connection=True):
    db = PostgresDb.METHOD_NAME(config, application_name=application_name,
                                validate_connection=validate_connection)
    return cls(db)