The overwork of closer Mark Melancon gave Pirates reliever Antonio Bastardo a shot to close Wednesday against San Diego - and he cashed in for his first save of the year.
Bastardo allowed a walk to open the ninth before retiring the last three, including Melvin Upton and Will Middlebrooks on strikeouts.
Melancon had pitched in four games over the last six days.