SAN DIEGO (AP) — Jedd Gyorko hit an RBI single to right-center with two outs in the ninth inning Wednesday night to give the San Diego Padres a wild 5-4 win over the San Francisco Giants, who dropped seven games behind first-place Los Angeles in the NL West with 11 to go.
The Dodgers beat Arizona 4-1. The Giants remained 9 1/2 games behind the Chicago Cubs for the second wild card.
The Padres won for just the fourth time in 12 games.
San Diego started the winning rally against George Kontos (4-3) with a one-out double by Matt Kemp and an intentional walk to Justin Upton. Brett Wallace popped up before Gyorko singled off Santiago Casilla.
Padres closer Craig Kimbrel (3-2) was one out from finishing a 4-3 victory with runners on second and third when he threw a wild pitch over rookie Trevor Brown's head that allowed Buster Posey to score the tying run. Kimbrel had struck out rookies Mac Williamson and Kelby Tomlinson.
The inning started with Kemp dropping Posey's fly to right for an error and Brandon Crawford doubling to left.
Rookie Travis Jankowski hit a two-run double off Sergio Romo with two outs in the eighth to give the Padres a 4-3 lead.
The Giants' bullpen was unable to hold Jake Peavy's 2-0 lead going into the seventh and then blew the 3-2 lead rookie Jarrett Parker gave San Francisco on his home run off the Western Metal Supply Co. brick warehouse in the left-field corner. It was his second career homer.
Romo allowed one-out singles to Wallace and Gyorko before Jankowski's opposite-field liner down the left-field line.
Peavy, the unanimous 2007 NL Cy Young Award winner with San Diego, held the Padres to four hits in six scoreless innings and made a gutsy putout at first base.
With two outs in the fourth, Peavy fielded Derek Norris' broken-bat comebacker. When he saw that Posey wasn't going to cover first in time, Peavy dove and touched the bag with the ball for the out.
Peavy allowed three singles and a double. The Padres had runners in scoring position only twice. He struck out four and walked one.
The bullpen almost immediately gave up the lead.
Cory Gearrin started the seventh and allowed a single to Gyorko and walked Norris. Josh Osich came on and struck out Jankowski and pinch-hitter Wil Myers before allowing Yangervis Solarte's two-run double to right-center. Solarte, who also doubled in the fifth against Peavy, then left with a cramp in his right hamstring.
Crawford hit a two-run single in the first off Andrew Cashner, who allowed two runs and two hits in six innings, struck out six and walked five. He's walked 12 in three starts.
TRAINERS ROOM
Giants: Manager Bruce Bochy said 1B Ehire Adrianza sustained concussion-like symptoms when he was hit in the face by a grounder Tuesday night. With Adrianza out for an unknown time, the Giants brought back INF-OF Kevin Frandsen. INF Juan Perez (strained side muscle) was put on the 60-day DL.
Padres: Myers was a late scratch with minor discomfort in his surgically repaired left wrist. He pinch-hit in the seventh. ... RHP Shawn Kelley (forearm) was fine after pitching Tuesday for the first time since Sept. 1.
UP NEXT
Giants: LHP Madison Bumgarner (18-8, 2.84 ERA) is scheduled to start the series finale. He's 2-1 in four starts against San Diego this year.
Padres: RHP Ian Kennedy (8-15, 4.29) is scheduled to make his sixth start against the Giants this season. So far he's 2-2.