LOS ANGELES -- With reliever Brian Wilson earning the win in his appearance against his ex-teammates, the Los Angeles Dodgers edged the San Francisco Giants 3-2 Thursday in the opener of a four-game series at Dodger Stadium.
The Dodgers increased their lead over the idle Arizona Diamondbacks to 12 1/2 games in the National League West. Los Angeles' magic number is five.
Overcoming a solid start from San Francisco's Matt Cain and a blown save by Kenley Jansen in the ninth inning, the Dodgers rallied in the 10th.
Carl Crawford singled off Jeremy Affeldt (1-5) to start the inning, then went to second base on a sacrifice bunt by Nick Punto. Adrian Gonzalez singled to center, and Crawford slid home with the winning run.
The Giants forced extra inning when Gregor Blanco knocked in pinch runner Juan Perez with a ninth-inning single, tying the game 2-2. The Dodgers didn't help themselves thanks to a wild pitch and passed ball that put Perez at third base.
Wilson (2-1) threw a scoreless top of the 10th, pitching around a one-out walk. He spent seven seasons with San Francisco before the Giants let him go last winter when he was coming off Tommy John surgery. He signed with the Dodgers in late July and debuted for them Aug. 22.
Yasiel Puig, batting with a Dee Gordon at third with two outs in the bottom of the seventh, punished a first-pitch fastball by Cain into the left field gap to score Gordon and make it 2-1.
If judged solely by the pitching matchup -- and past history -- this might have been a playoff game, as Dodgers co-ace Zach Greinke faced off against Cain.
Greinke, who has won his past six decisions, was solid over six innings, giving up one run on four hits.
Cain gave up two runs (one earned) on six hits in seven innings.
Hunter Pence's home run gave the Giants a 1-0 lead in the second inning
The Dodgers answered in the bottom of the second, taking advantage of two hits and an error to tie it up when Greinke singled home Juan Uribe to make it 1-1.
NOTES: Puig is on-pace to finish the season with the highest batting average and on-base percentage for a Los Angeles Dodgers rookie, while his slugging percentage would be second-best to Mike Piazza'a .561 mark in 1993. Puig's batting average would be the highest for a rookie since Ichiro Suzuki's .350 mark with Seattle in 2001. ... Affeldt, who missed 50 games with a left groin strain, was reinstated from the 15-day disabled list before the game.