Giants 6, Diamondbacks 2

PHOENIX -- San Francisco left fielder Gregor Blanco and right-hander Tim Hudson hit back-to-back homers in a five-run third inning and Hudson won his first start since returning from the disabled list in a 6-2 victory over the Arizona Diamondbacks at Chase Field on Tuesday.

Blanco and Hudson homered four pitches apart off right-hander Chase Anderson, and Hudson gave only one run and four singles in six innings in his first start since July 26.

Second baseman Joe Panik doubled in a run in the third inning and hit a bases-empty homer in the ninth as the Giants (72-67) won for the third time in four games after losing seven in a row.

Catcher Jarrod Saltalamacchia hit his sixth homer of the season, his fifth with Arizona, and third baseman Jake Lamb drove in a run with a sacrifice fly.

Saltalamacchia's homer in the seventh inning was the only hit in the last five innings for Arizona (66-73), which has lost five of its last six and 12 of its last 16.

Hudson (7-8) struck out four and did not walk a batter in six innings while improving to 10-2 in 15 career starts against Arizona. He also had two hits, singling in the fourth inning.

Hudson, 40, became the oldest Giants pitcher to homer since Steve Carlton in 1986, at 41.

Blanco and Hudson homered to open the third inning, the first of five consecutive hits off Anderson (6-6).

Center fielder Angel Pagan singled and scored on Panik's double into the right field corner before third baseman Matt Duffy singled in Panik to chase Anderson. First baseman Brandon Belt's two-out double drove in Duffy for a 5-0 lead.

Anderson allowed five runs on five hits and a walk in two-plus innings.

Goldschmidt, left fielder David Peralta and catcher Jarrod Saltalamacchia singled to load the bases with one out in the fourth inning off Hudson.

Third baseman Jake Lamb fouled out to third baseman Duffy down the left field line, and Goldschmidt scored to cut Arizona's deficit to 5-1. Peralta reached third on the throw to the plate but was thrown out by catcher Buster Posey after rounding third too far to end the inning.

NOTES: Giants 2B Joe Panik made his first start since Aug. 1 after missing 36 games with back inflammation. ... Arizona recalled RHP Jhoulys Chacin, LHP Andrew Chafin, 3B/OF Jamie Romak, RHP Allen Webster from Triple-A Reno and OF Socrates Brito from Double-A Mobile on Tuesday. The Diamondbacks also purchased the contract of OF Peter O'Brien. They called up RHP Evan Marshall (skull fracture) and put him to the 60-day disabled list to make room on the 40-man roster for O'Brien. ... San Francisco activated LHP Jeremy Affeldt from the DL and purchased the contract of RHP Cory Gearrin from Triple-A Sacramento. Gearrin was 2-2 with a 2.72 ERA for Sacramento. He appeared in 77 games with Atlanta from 2011-13 before missing 2014 following Tommy John surgery. Giants C Hector Sanchez (ankle) was placed on the 60-day disabled list to make room on the 40-man roster.
Final1st2nd3rd4th5th6th7th8th9thRHE
San Francisco GiantsGiants005000001691
Arizona DiamondbacksDiamondbacks000100100250
Season Series
ArizonaStatsSan Francisco
11-8Vs8-11
.263Batting Average.243
3.8Runs / Game3.1
15Home Runs11
6Errors12