SAN FRANCISCO (AP) -- Matt Cain had his best outing in nearly a month, Nate Schierholtz added three hits and made an outstanding defensive play and the San Francisco Giants beat the Arizona Diamondbacks 3-2 Thursday to complete a perfect homestand.
Eli Whiteside doubled twice to help the Giants go 6-0 at home. They swept Colorado and then Arizona to extend their season-high winning streak to six games.
Gerardo Parra, Xavier Nady and Justin Upton had two hits apiece for Arizona, which has lost four straight.
The Diamondbacks scored twice in the eighth and had the tying run at third base with one out in the ninth before Javier Lopez recorded the final two outs for his first save in nearly five years.