Angel Pagan hit a three-run home run in San Francisco's five-run eighth inning and the Giants rallied to beat Arizona 8-5 on Thursday in a game that was halted briefly in the top of the first due to a swarm of bees in the outfield.
Paul Goldschmidt and Mark Trumbo each hit two-run home runs and Arizona led 5-3 after seven, but the Giants teed off on reliever Will Harris (0-1) in the eighth to take three of four games from the Diamondbacks.
Brandon Belt hit his third home run of the series and Brandon Hicks had a pinch-hit solo shot for the Giants, who had rallied from four down to win the series opener Monday.
Goldschmidt homered in the first inning off Tim Lincecum, his sixth homer in 21 career at-bats against the Giants right-hander.
Jean Machi (2-0) got one out for the victory.
Copyright 2014 CBS 5 (KPHO Broadcasting Corporation). All rights reserved. The Associated Press contributed to this report.