LOS ANGELES — Clayton Kershaw finished with a major league-leading 2.53 ERA, Adrian Gonzalez singled in the go-ahead run in the sixth inning, and Los Angeles ended its season a day after being eliminated from playoff contention with a 5-1 victory over San Francisco on Wednesday.
Giants catcher Buster Posey went 0 for 2, finishing the regular season with a .336 average to claim the NL batting title. He's the first Giants player to win it since Barry Bonds in 2004 and the first Giants catcher to do so. The last catcher to win the NL title was Boston's Ernie Lombardi, who hit .330 in 1942.
Kershaw (14-9) allowed one run and three hits in eight innings, struck out eight and walked three in his 33rd start, tying a career high. The reigning NL Cy Young Award winner recorded 229 strikeouts, one behind NL leader R.A. Dickey of New York. The left-hander became the first pitcher to lead the league in ERA in consecutive seasons since Arizona's Randy Johnson in 2001-02.
Kershaw became the first Dodgers pitcher to do so since Sandy Koufax accomplished the feat from 1962-66.
Gonzalez finished on a 15-game hitting streak, longest on the team he joined from Boston on Aug. 25. He drove in Andre Ethier, who doubled, with two outs to give the Dodgers a 2-1 lead. They tied the game 1-1 on Kershaw's RBI single in the fifth — the Dodgers' first hit off Giants starter Ryan Vogelsong, who also retired his first 10 batters.
Kenley Jansen pitched the ninth to earn his 26th save in 32 chances.
Clay Hensley (4-5) gave up one run and two hits in one inning to take the loss for the Giants, who open the NL division series on Saturday against Cincinnati.
Braves 4, Pirates 0
At Pittsburgh, Jason Heyward singled twice and scored two runs for Atlanta in the regular-season finale.
Chipper Jones added a pinch-hit single in his final regular-season at-bat for Atlanta, which hosts St. Louis in the wild-card playoff on Friday.
Luis Avilan (1-0) won on a day the Braves used eight pitchers to hold Pittsburgh to four hits. Ben Sheets started and pitched one scoreless inning in his last major league appearance.
Cubs 5, Astros 4
At Chicago, Houston ended its National League tenure with a result that's become familiar: a loss.
The Astros set a franchise record for losses in a season, finishing 55-107, one more loss than last year. The Astros split the final 30 games of the season, winning five of their final seven.
Bryan LaHair homered and hit a game-winning single in the ninth inning for Chicago.
In the first series between 100-game losers in the major leagues since 1962, LaHair homered in the second and broke a 4-all tie against Hector Ambriz (1-1).
Mets 4, Marlins 2
At Miami, Ike Davis hit his 32nd homer and Scott Hairston got his 20th to help New York win its season finale.
Jeremy Hefner (4-7) closed the season with his second consecutive strong start. He allowed two runs in 71/3 innings.
Hairston reached the 20-homer milestone for the first time. Andres Torres hit his third homer.
Rockies 2, Diamondbacks 1
At Phoenix, Jeff Francis earned his first victory in more than a month and Colorado used two unearned runs to beat Ian Kennedy to conclude disappointing seasons for both teams.
Francis (6-7) allowed a run and five hits in five innings in his first victory since July 27. He had gone 0-3 in six outings since then.
Third baseman Chris Johnson's throwing error in the fourth led to both of Colorado's runs. D.J. LeMahieu singled in a run for the Rockies.
Padres 7, Brewers 6
At Milwaukee, Chase Headley drove in two runs, finishing the season with an NL-leading 115 RBIs for San Diego.
Headley doubled home a run in the fifth inning. He hit an RBI triple in the seventh and scored the go-ahead run on a sacrifice fly by Yonder Alonso.
Travis Ishikawa drove in four runs for Milwaukee, including three with a double in the third that made it 6-0.
Cardinals 1, Reds 0
At St. Louis, rookie right-hander Shelby Miller took a no-hitter into the sixth inning in his first career start and Matt Carpenter had a run-scoring single for St. Louis.
Miller gave up a two-out bloop single to Wilson Valdez in the sixth to end his no-hit bid. He struck out seven, walked two and allowed just one hit over six innings.
Mariners 12, Angels 0
At Seattle, Casper Wells tied a career-high with five RBIs including a three-run homer in Seattle's six-run seventh inning, and the Mariners routed the Angels.
Angels' star rookie Mike Trout went 2-for-3 at the plate with a double leading off the sixth and a single in the eighth to finish the season with a .326 average. That was good for second in the AL batting race, but pretty much locked up the Triple Crown for Detroit's Miguel Cabrera. Angels' starter Jered Weaver pitched just one inning before leaving the game. Weaver (20-5) had a chance to become the fourth pitcher in Angels' history to reach 21 wins, but called it a season early after giving up two runs, two hits and walking two batters in the first inning. The team said Weaver had "general fatigue" as the reason he threw just one inning.
White Sox 9, Indians 0
At Cleveland, Dan Johnson hit his first three homers of the season and Chicago added two more in the game as the White Sox routed the Indians.
Gavin Floyd (12-11) gave up three hits over seven innings. He struck out six, one short of getting 145 strikeouts for the fifth straight season despite being on the disabled list twice this year.
Blue Jays 2, Twins 1
At Toronto, Brandon Morrow struck out a season-high 11, Omar Vizquel wrapped up his 24-year career and the Blue Jays beat the Twins to complete a three-game sweep.
Morrow (10-7) allowed one run and three hits in eight innings, his longest outing since a complete game victory at Chicago on June 6. Toronto's staff leader in wins, the right-hander reached double digits in victories for the third straight season.