Bariatric surgery may provide better protection than uvulopalatopharyngoplasty against major adverse cardiovascular events in obese patients with obstructive sleep apnea.