Diamondbacks 9, Dodgers 4
PHOENIX -- Paul Goldschmidt hit his third home run in four games and Arizona prevented the Los Angeles Dodgers from clinching the National League West title with a 9-4 victory Wednesday at Chase Field.
Goldschmidt had a two-run homer in the first inning, his NL-leading 34th, and Brandon McCarthy (5-9) gave up three runs in six-plus innings to leave the Dodgers' magic number at two.
Yasiel Puig had three hits including his 17th home run for the Dodgers (87-65), who can clinch their first playoff berth since 2009 with a victory in the final game of the series Thursday afternoon.
Adam Eaton had two hits and drove in three runs. His two-run single capped a five-run eighth inning for the Diamondbacks (77-74), who have won four of their last five.
Dodgers first baseman Adrian Gonzalez had two hits and an RBI before being ejected with two outs in the sixth inning while arguing a play at the plate from second base.
Gonzalez was tossed while standing on second base after Michael Young was thrown out at the plate on Gonzalez's double to left-center field for the second out of the sixth inning. Replays appeared to show Young had his hand on the plate before being tagged.
Tim Federowicz hit a solo homer run in the ninth, and Young had two hits.
Aaron Hill had two hits and an RBI and A.J. Pollock had two hits and scored a run for Arizona.
The Dodgers were in last place in the NL West and trailed the Diamondbacks by 9 1/2 games on June 22, but have gone 57-23 since.
Eaton opened the first inning with a double to right field before Goldschmidt homered off Stephen Fife one out later, on the 10th pitch of his at-bat, after he fell behind 0-2.
Miguel Montero was hit by a pitch to open the third inning. Matt Davidson singled and Gerardo Parra grounded into a force out at second base as Montero scored.
Reliever Carlos Marmol walked Eaton with the bases loaded as Arizona opened a 4-0 lead. Marmol escaped further damage by getting the final two outs of the inning.
Puig hit a 442-foot homer to lead off the fourth inning, and Gonzalez brought the Dodgers within two at 4-2 when followed infield singles by Carl Crawford and Michael Young with a run-scoring single that tipped off first baseman Goldschmidt's glove.
NOTES: Dodgers SS Hanley Ramirez was given a scheduled day off Wednesday, manager Don Mattingly said. Ramirez could be rested again Thursday as part of a plan to keep him fresh. "Hanley is going to play a day, off a few days, kind of try to keep him sharp. Whatever we have to do to get him right," Mattingly said. Ramirez singled, walked three times and scored three runs Tuesday after missing the previous four games with back soreness. ... LHP Patrick Corbin will make his final two scheduled starts this season. Arizona manager Kirk Gibson ended speculation that Corbin (14-7) could be shut down after reaching a career-high 199 innings in a 9-3 loss Tuesday, when he lasted only two innings. ... Dodgers LF Carl Crawford (back) made his first start since Thursday. He had only two pinch-hit appearances since that start. ... Fife made his first start since Aug. 4 after the Dodgers decided on Tuesday to push Clayton Kershaw's next start back to Saturday.