DENVER — Pablo Sandoval homered twice in an eight-run fourth inning, part of a six-home run barrage that led the late-charging San Francisco Giants over the Colorado Rockies 12-5 Sunday for their eighth straight win.
On its longest winning streak since April 2007, San Francisco closed within four games of Atlanta, the NL wild-card leader.
Pitcher Matt Cain (12-10), Mike Fontenot, Brandon Belt and Brandon Crawford also homered for the Giants, who began the day five games back of Arizona in the NL West.
Esmil Rogers (6-6) was the loser.
DIAMONDBACKS 5, PADRES 1: At San Diego, Joe Saunders took a five-hitter into the ninth inning, Paul Goldschmidt drove in three runs and Arizona cut the magic number to five for their first NL West title since 2007. Saunders (12-12) limited last-place San Diego an unearned run and seven hits in 8 2-3 innings, improving to 3-1 with a 1.47 ERA against the Padres this season.
METS 7, BRAVES 5: At Atlanta, Ruben Tejada had four RBIs, Lucas Duda homered off Craig Kimbrel in the ninth inning and New York slowed the Braves' wild-card bid with a walk-filled victory. Atlanta lost two of three to the Mets, who arrived with a six-game losing streak. New York went 6-4 at Atlanta this year, its first winning record at Turner Field since 2008.
BREWERS 8, REDS 1: At Cincinnati, Carlos Gomez and Prince Fielder each hit two-run homers in the first and Zack Greinke breezed through seven sharp innings to help Milwaukee complete a series sweep. Greinke (15-6) allowed just two hits and one run with three walks. He tied his season high with 10 strikeouts.
DODGERS 15, PIRATES 1: At Los Angeles, James Loney had five hits with three RBIs, Jerry Sands and Juan Rivera each drove in four runs, and the Dodgers routed Pittsburgh. Sands had a homer among his four hits, leading a 23-hit attack against eight Pittsburgh pitchers. Matt Kemp had three hits, including his 34th homer, and drove in two runs.
ASTROS 3, CUBS 2: At Chicago, Brett Myers benefited from a reversed homer call to beat the Cubs again and Clint Barmes had a two-run single for Houston. With Chicago down by a run in the eighth and Starlin Castro on first, Carlos Pena's drive to left was initially ruled a two-run homer. The call was overturned after umpires reviewed video of the play. Pena was given a double and Castro was put on third base, then Marlon Byrd flied out to end the threat.
NATIONALS 4, MARLINS 3: At Washington, Chien-Ming Wang had the longest start of his comeback from shoulder surgery, leaving with two outs in the seventh inning, and Danny Espinosa delivered his first RBI in two weeks for the Washington. The right-hander allowed runs on Gaby Sanchez's fifth-inning solo shot and Brett Hayes' two-run homer in the seventh.
CARDINALS 5, PHILLIES 0: At Philadelphia, Allen Craig hit two homers and drove in three runs, Chris Carpenter gave up eight hits in eight inning as St. Louis improved its playoff chances. Albert Pujols also homered for the Cardinals (83-69), who pulled within 3 1/2 games of the N.L. wild-card leading Atlanta Braves.