AP Sports Writer
PHOENIX (AP) - Rookie Patrick Corbin pitched a career-long eight innings and drove in four runs with a triple and single, leading the Arizona Diamondbacks to a 10-2 rout of the San Francisco Giants on Sunday.
The RBIs and the extra-base hit were firsts for Corbin, who entered the game batting .071 (2 for 28).
Justin Upton had a solo homer and two-run double as the Diamondbacks averted a three-game Giants sweep.
Corbin (6-7) tripled in three runs in Arizona's 5-run fourth inning. The young left-hander scattered eight hits, striking out five and walking one.
For the second straight start against Arizona, Ryan Vogelsong (12-9) lasted just 3 1-3 innings. He allowed seven runs, six earned, on five hits with six strikeouts and four walks, one intentional.
Vogelsong gave up six runs in 3 1-3 innings against the Diamondbacks two starts ago.
NL West-leading San Francisco had not allowed this many runs since a 14-2 loss to Washington on Aug. 13.
Corbin had not pitched longer than seven innings in his previous 13 major league starts.
Arizona's fourth-inning eruption broke a 2-2 tie.
It started when Giants shortstop Joaquin Arias muffed Paul Goldschmidt's grounder. Vogelsong struck out Ryan Wheeler for the second time, but Cody Ransom doubled off the wall in center to put runners at second and third. Gerardo Parra was walked intentionally to bring up Corbin, who was batting .069 (2 for 29).
On a 1-2 pitch, Corbin hit one down the line to the right field corner, clearing the bases and finishing with a head-first dive into third.
Vogelsong walked Adam Eaton and was through for the day. Shane Loux relieved Vogelsong and Aaron Hill doubled both base runners home to make it 7-2.
Upton homered for the second game in a row, a solo shot to left in the sixth. Corbin got his fourth RBI with a broken-bat, bloop single in the seventh.
The four RBIs were the second-most by a pitcher in Diamondbacks' history. Micah Owings had six against Atlanta on Aug. 18, 2007.
The Giants scored in the first when Angel Pagan opened the game with a double. He was sacrificed to third by Marco Scutaro's bunt and scored on Buster Posey's two-out single.
Arizona went up 2-1 in the third on Upton's booming two-run double off the overhang in right-center, a foot or less shy of a home run. Vogelsong retired the first two batters in the inning but walked Eaton and gave up a single to Hill to set things up for Upton, whose also had a solo home run in the sixth.
San Francisco made it 2-2 in the fourth when Posey led off with a walk and Hunter Pence was hit by a pitch. Posey scored on Brandon Belt's two-out double.
NOTES: The Giants go home for a four-game series with Colorado. LHP Madison Bumgarner (14-10, 3.32 ERA) goes for San Francisco in Monday's opener and Jhoulys Chacin (2-5, 4.86) for the Rockies. ... Arizona has Monday off. The Diamondbacks open a three-game series at home with San Diego on Tuesday, RHP Ian Kennedy (13-11, 4.21) going for Arizona, LHP Eric Stults (6-2, 2.54) for the Padres. ... San Francisco finished its road trip 4-2. .... The Giants haven't lost a series on the road since dropping two of three at Pittsburgh July 6-8. ... The Diamondbacks had not scored more than four runs in 12 straight home games, tying a club record. ... Upton has homered in consecutive games for the first time since he had one in three straight games last Sept. 7-9. ... The Diamondbacks only outhit the Giants 9-8. ... San Francisco used eight pitchers.
(Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)