Pulmonary resections performed at hospitals with thoracic surgery residency programs have superior outcomes.