HOUSTON (AP) - Clint Barmes hit a three-run homer and J.A. Happ pitched six solid innings against his former team as the Houston Astros beat Philadelphia 5-2 on Tuesday night, preventing the Phillies from wrapping up a playoff spot.
The Phillies needed a win over Houston or a loss by St. Louis to clinch at least a wild-card berth. But the NL East leaders will have to wait to secure their place in the postseason after the Cardinals beat the Pirates 6-4 on Tuesday night.
Philadelphia starter Cole Hamels (14-8) fell to 0-3 in his last five starts against the Astros after going 3-0 in his first four career starts against them.
Happ (6-15), acquired from the Phillies last year as part of the Roy Oswalt trade, allowed four hits and one run with four strikeouts. Fernando Rodriguez threw two scoreless innings before David Carpenter took over for the ninth.
The Astros won their second straight game to avoid setting a franchise record for losses in a season. Their 97 defeats are tied for the club mark, which has been reached three other times, most recently in 1991.
Giants 3, Padres 2, 12 innings
SAN FRANCISCO (AP) - Mark DeRosa hit a game-ending RBI single off second baseman Orlando Hudson's glove in the 12th inning.
DeRosa's two-out drive against Brad Bauch (0-2) just evaded Hudson, allowing Cody Ross to score from the third.
Pablo Sandoval and Justin Christian also drove in a run for the Giants, who have won three straight. Ramon Ramirez (3-3) pitched a scoreless inning to get the win.
Jason Bartlett had a two-run double for the Padres, who have lost five of six.
Giants starter Matt Cain gave up one run and four hits, struck out six and walked three in 6 1-3 innings. He is 2-3 with a 2.01 ERA in his last eight outings.
Cory Luebke struck out eight in six innings for the Padres, yielding two runs and 10 hits. The left-hander is 0-3 with a 4.28 ERA in his last five starts.
Dodgers 5, Diamondbacks 4, 10 innings
LOS ANGELES (AP) - Chris Young scored the go-ahead run on a bases-loaded walk in the 10th inning.
Gerardo Parra sparked the Diamondbacks with a tying homer off Hong-Chih Kuo with two out in the seventh, then a leadoff single in the 10th.
After Aaron Hill sacrificed and Justin Upton struck out, Javy Guerra (2-1) issued consecutive walks to Miguel Montero, Paul Goldschmidt and Young, helping Arizona win its second in a row and sixth in seven games.
Micah Owings (7-0) pitched a scoreless ninth for the win and J.J. Putz finished for his 40th save in 44 chances.
Brewers 2, Rockies 1, 11 innings
MILWAUKEE (AP) - Ryan Braun homered leading off the 11th inning and the Milwaukee Brewers won their sixth straight at home over Colorado.
Prince Fielder also went deep for Milwaukee, which remained 6 1/2 games ahead of second-place St. Louis in the NL Central with 13 to play.
Zack Greinke labored through five innings before the Brewers' bullpen picked him up. LaTroy Hawkins, Takashi Saito, Francisco Rodriguez, John Axford and Kameron Loe (4-7) combined for six scoreless innings.
Fielder homered in the sixth to tie it and it stayed that way until the 11th, when Braun homered off Matt Lindstrom (2-2) and pumped his right fist in excitement before joining the scrum at home plate.
After the Rockies scored early, Fielder hit his 32nd homer after coming in with just two extra-base hits over his previous 35 at-bats. It was his first homer since Sept. 2 in Houston.
Braves 7, Marlins 1
ATLANTA (AP) - Brian McCann and Dan Uggla each hit a three-run homer and the Atlanta Braves ended their longest losing streak of the season at four games.
The Braves, whose lead over St. Louis in the NL wild-card standings is down to 4 1/2 games, held a private meeting before the game in hopes of shaking things up.
It finally worked in the sixth. Uggla drew a one-out walk from Brad Hand (1-7), Matt Diaz singled to right and McCann came through with a towering shot over the center-field wall for his 24th homer. Uggla put it out of reach in the seventh with his career-best 34th homer, also a three-run shot.
Peter Moylan (2-1) claimed the win by getting the final out in the sixth.
Cardinals 6, Pirates 4
PITTSBURGH (AP) - Nick Punto hit a go-ahead double in the ninth inning and the surging St. Louis Cardinals overcame three errors by first baseman Albert Pujols.
Trying to stay in the wild card and NL Central races, the Cardinals won for the sixth time in seven games.
The loss dropped the Pirates to 67-81. In a season that once had so much hope, they are stuck with a non-winning season for the 19th straight year.
Working on the day he signed a $21 million, two-year contract, Cardinals ace Chris Carpenter hit an early two-run single. He took a 4-2 lead into the seventh, but Andrew McCutchen tied it with a two-out homer.
Nationals 3, Mets 2
NEW YORK (AP) - Craig Stammen got his first win and hit in more than a year, scoring the go-ahead run on Ryan Zimmerman's seventh-inning single.
Stammen (1-1) entered in the sixth with two on, then got three straight outs to escape the trouble. Stammen then singled off Dale Thayer (0-2) leading off seventh - a .217 hitter coming in, Stammen had not gotten a hit since July 30 last year.
Ian Desmond singled him to second with one out, Rick Ankiel advanced Stammen by grounding into a forceout against Tim Bydak, and Zimmerman lined a single to left off Bobby Parnell.
Stammen pitched 1 1-3 hitless innings to win for the first time since Aug. 4 last year. Drew Storen, Washington's seventh pitcher, finished for his 36th save in 41 chances. The Mets put runners at the corners on two-out singles by Jose Reyes and Ruben Tejada before Lucas Duda struck out on three pitches.
Reds 2, Cubs 1
CINCINNATI (AP) - Brandon Phillips homered again, hitting a leadoff shot that helped Mike Leake and Cincinnati end a three-game losing streak.
Phillips homered for the third time in two games. He has 15 home runs this year.
Leake (12-9) allowed six hits and two walks over eight innings in what is expected to be his final start of the season. The Reds plan to shut him down in an effort to prevent arm problems.
Leake pitched a career-high nine innings in his previous start, giving up three hits against the Cubs at Wrigley Field. He took a one-hit shutout into the ninth in that game before giving up Starlin Castro's two-out infield single and pinch-hitter Bryan LaHair's tying home run.
Francisco Cordero pitched the ninth for his 33rd save.