Phoenix The Padres are in the postseason for the second year in a row, thanks to David Wells' first victory since he was traded to San Diego a month ago.
The 43-year-old left-hander, who missed his previous start because of gout in his right foot, threw six scoreless innings, and Mike Cameron hit a two-run homer to power San Diego past the Arizona Diamondbacks, 3-1, on Saturday.
The Padres' win clinched consecutive playoff appearances for the first time in franchise history.
Whether they advance as NL West champions or as the wild card team won't be decided until today's regular-season finales.
The San Diego victory eliminated Philadelphia from postseason contention, while the Padres and Los Angeles remained tied for the NL West lead after the Dodgers won at San Francisco, 4-2.
If the two still are even after today's games, the Padres get the division title because they won the season series against Los Angeles.
The playoff berth is San Diego's fifth. The Padres also made it in 1984, 1996, 1998 and 2005.
Dodgers 4, Giants 2
San Francisco - Greg Maddux pitched the Dodgers back into the playoffs. Maddux outdueled rookie Matt Cain, hit a single and even stole a base as the Dodgers won their sixth straight game.
Astros 5, Braves 4
Atlanta - Pinch-hitter Orlando Palmeiro's single drove in the tiebreaking run as Houston scored three times in the ninth inning and held on to preserve its playoff hopes.
Phillies 4, Marlins 3
Miami - Tom Gordon pitched around a one-out double in the ninth, retiring Dan Uggla on a fly ball that Shane Victorino caught in deep center field for the final out.
Rockies 11, Cubs 9, 14 inn.
Chicago - Jeff Baker singled in two runs with two outs in the 14th inning.
Mets 13, Nationals 0
Washington - Julio Franco tied a career high with five RBIs, helping Tom Glavine earn his 290th career victory.
Pirates 3, Reds 0
Pittsburgh - Marty McLeary, a journeyman minor leaguer most of his career, pitched seven shutout innings in only his second major-league start and Pittsburgh ended an eight-game losing streak.
White Sox 6, Twins 3
Minneapolis - Jon Garland took a shutout into the ninth inning, and Tadahito Iguchi had a homer among his three hits and three RBIs.
Orioles 5, Red Sox 4
Boston - Kevin Millar's two-run single in the ninth inning lifted Baltimore.
Indians 6, Devil Rays 1
Cleveland - Jake Westbrook allowed one run in seven innings, and Casey Blake hit two solo homers.
Blue Jays 6, Yankees 5
New York - Alex Rodriguez and Gary Sheffield hit consecutive home runs in the fourth inning.
Mariners 3, Rangers 1
Seattle - Adrian Beltre homered twice, and Felix Hernandez pitched seven strong innings.