SAN FRANCISCO (AP) - All along, Bruce Bochy's message has sounded the same: Winning the NL West will be a challenge until the very end.
The Los Angeles Dodgers showed they are determined to stay in the chase against their rival.
Hanley Ramirez helped the cause by hitting a go-ahead RBI double in the top of the ninth inning and the undermanned Dodgers trimmed a game off their division deficit with a 3-2 win against the first-place San Francisco Giants on Saturday.
``It's going to be a fight and we know it,' Bochy said. ``It's our nature. We don't do anything easy in our games. There's a lot of baseball left.'
Rewind to the 2010 World Series champion Giants team - the theme was torture for all the close games.
Adrian Gonzalez led off the ninth with a triple against Jeremy Affeldt (1-2), then Ramirez came through with a double to the gap in right-center - the Dodgers' first hit in 15 tries so far this series with runners in scoring position.
Ronald Belisario (5-1) pitched out of trouble in the eighth for the victory, helping Los Angeles snap a four-game losing streak to rival San Francisco in a key September weekend series.
``We need confidence,' Ramirez said. ``We've got to believe in ourselves and what kind of team we've got.'
Buster Posey hit an RBI single in the first and Brandon Belt added a go-ahead RBI with a groundout in the eighth for the Giants, who lead the Dodgers by 4 1/2 games.
It will take plenty more timely hits down the stretch for the Dodgers to return to the playoffs after a two-year absence. They've been hard to come by, too.
``We're getting there,' Gonzalez said. ``I don't know about winning the division. We're getting there somehow.'
Pinch-runner Alex Castellanos scored the tying run on a wild pitch in the top of the eighth to chase Giants starter Matt Cain. Juan Rivera doubled to start the inning and A.J. Ellis sacrificed him to third, where Castellanos entered. Bobby Abreu came in to pinch-hit and Cain threw wildly on full-count for ball four as Abreu drew a walk.
Santiago Casilla, Friday night's winning pitcher, relieved and escaped further damage but the Giants' bullpen couldn't pull off a second consecutive win.
``Frustrating and not executing,' Affeldt said. ``Sometimes you have to remember they get paid a lot of money to hit. Adrian just hit it in the part of the part of the park where you don't want it anybody to hit a ball to, especially in a day game.'
Brandon League pitched the ninth to earn his 11th save overall and second since joining the Dodgers from Seattle on July 30. He allowed Gregor Blanco's two-out double before retiring pinch-hitter Hector Sanchez on a liner to third.
Cain, who tossed a perfect game June 13 at home against the Astros, worked into the eighth inning but wound up with a third straight no-decision. He allowed two runs and six hits in 7 1-3 innings, struck out five and walked two.
Cain shut down the middle of the Dodgers lineup most of the way just as Tim Lincecum did a night earlier. That included Gonzalez, who came in with four career homers and 13 RBIs against Cain. Gonzalez's triple was his first hit of the day after he grounded into an inning-ending double play in the first and a pair of flyouts.
Cain threw two wild pitches in a game for just the second time after also doing so Aug. 29, 2010, against Arizona.
``The wild pitch is really frustrating right now,' he said. ``It's really aggravating right now.'
Chris Capuano gave up two runs and five hits in seven innings but saw his winless stretch reach five starts since a victory at Miami on Aug. 12. He is 0-2 and has only one victory over his past nine outings.
After Posey's hit, he retired 12 straight before Blanco beat out an infield single that manager Don Mattingly argued with first-base umpire Brian O'Nora. Replays showed Capuano's foot hitting the bag before Blanco made it. But he was later out in a close play at third that drew Bochy out of the dugout for words with umpire Alfonso Marquez.
Capuano singled in the sixth and became just the second Dodgers player to get beyond first when he advanced on Mark Ellis' single. The pitcher scored the tying run on Shane Victorino's sacrifice fly.
Notes: Posey threw out three players trying to steal, a career high. ... The Dodgers won in a game started by Cain for just the second time in the past eight matchups. ... The Giants also lost for just the fifth time in their past 17 against NL West opponents. Their final 23 games come versus the division. ... Anyelina Pagan, 7, announced her father's plate appearance leading off the third inning as a Giants ``junior announcer.' She said, ``my daddy, Angel Pagan.' ... LHP Clayton Kershaw (12-7) pitches in Sunday's finale for Los Angeles against fellow southpaw Barry Zito (10-8).
Copyright 2017 by STATS LLC and Associated Press.
Any commercial use or distribution without the express written
consent of STATS LLC and Associated Press is strictly prohibited.