SAN FRANCISCO (AP) - Brandon Crawford singled in Matt Duffy with two outs in the 10th inning, and the surging San Francisco Giants beat the San Diego Padres 4-3 Wednesday for their 13th win in 14 games.
Duffy singled off Brad Hand (1-2) with one out, pinch-hitter Hunter Pence popped out, Duffy advanced on a wild pitch and Crawford hit a 1-2 offering over center fielder Jon Jay as Duffy scored standing up.
Crawford also singled and scored after some alert baserunning in the second inning. Duffy and Denard Span drove in runs for the NL West-leading Giants.
San Francisco completed a three-game sweep, extended its winning streak to five and improved to 9-0 against the Padres this season. The Giants' two walkoff wins in the series were against Hand.
Last-place San Diego was swept for the fourth time this season.
Yangervis Solarte hit a tying, two-run homer off Josh Osich in the eighth, but the Padres stranded runners on the corners in the 10th and lost for the eighth time in 10 games.
George Kontos (1-1) retired two batters.
Giants starter Jake Peavy, who spent his first eight seasons with San Diego, allowed one run and six hits in 6 2/3 innings and left after Alexei Ramirez's RBI single in the seventh.
San Diego's James Shields gave up two runs and five hits in six innings with one walk.
Crawford singled with one out in the second and advanced to an open third base as Jarrett Parker grounded out to the right side of the shifted infield. Kelby Tomlinson followed with an RBI single.
Gregor Blanco tripled leading off the sixth and scored on Duffy's single. Alexei Ramirez's RBI single in the seventh and Solarte's then took a 3-2 lead on Solarte's first home run since Oct. 1.
Brandon Belt appeared to injure his left ankle in the eighth while sliding into second base during a play that started with Brandon Crawford hitting a high popup in front of home plate. Catcher Derek Norris lost track of the ball as it fell to the grass, then fielded the ball and threw to second. Belt waited to see whether the ball fell in. then stumbled as he approached the bag and Ramirez, the Padres shortstop, dropped the throw from Norris. Belt overslid the bag, however, and was tagged out as he lay in the infield dirt.
Padres: INF Will Myers (forearm) drew a leadoff walk as a pinch hitter in the 10th and was pulled for a defensive replacement in the bottom half. The Padres have been giving Myers extended rest this week in hopes of avoiding placing him on the disabled list.
Giants: Span was supposed to have the day off but came in as a defensive replacement in the top of the seventh. . Pence (hamstring) hopes to be in the starting lineup Friday at Colorado.
Padres: LHP Christian Friedrich (0-1) is to start the series opener in Arizona on Friday. The former first-round pick by Colorado is winless since in the big leagues 2012.
Giants: RHP Matt Cain (1-5) is to start against the Rockies on Friday, attempting to win consecutive starts for the first time since 2013.