SAN FRANCISCO (AP) - Paul Goldschmidt hit a sacrifice fly and a double against All-Star Madison Bumgarner, Cody Ross added a late two-run single, and the first-place Arizona Diamondbacks held off a late rally by the San Francisco Giants for a 3-1 win Sunday to avoid a three-game sweep.
The D-backs snapped a three-game losing streak with their first victory of the second half.
Randall Delgado (2-3) won in his first career start at AT&T Park, and Goldschmidt's first-inning sac fly got things going against the inconsistent defending World Series champions. Arizona threw out Buster Posey at the plate in the sixth.
A day after stranding 13 baserunners and going 2 for 12 with runners in scoring position, the D-backs did just enough against Bumgarner in the 10-game winner's first outing after the All-Star break.
Ross singled in the eighth as Arizona won for just the fourth time in 16 road games.