PHOENIX (AP) - Paul Goldschmidt hit a three-run, opposite-field home run with two outs in the eighth inning and the Arizona Diamondbacks beat the San Francisco Giants 3-1 Friday night.
The Giants were poised to give Matt Cain a victory and send Patrick Corbin to his first loss in 10 decisions before Goldschmidt lined a 2-0 pitch from Jeremy Affeldt over the right field fence for his 15th home run of the season. Goldschmidt had twice grounded into double plays and struck out in his first three at bats.
Cain and Corbin were both scoreless until Gregor Blanco's two-out single brought Pablo Sandoval home from third in the seventh.
The Diamondbacks remain the only team in the majors not to be shut out this season.
Copyright 2015 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.