Pinch-hitter Andrew Susac singled home the go-ahead run with two outs in the 13th inning, and the Giants beat the first-place Los Angeles Dodgers 5-2 Monday night to climb within 3-1/2 games of the division lead.
"Hit something hard so we can go home," a tired Susac said, describing his mindset. "It was up and down emotionally for both teams. It was nice to pull one off."
"I knew he liked to move the ball a bit with the cutter and the sinker and I saw a curveball up and got enough of it," Susac said. "I actually hit it off the end of the bat a little bit - probably a good thing."
Blanco homered and scored twice for the Giants, who snapped a three-game skid and remained tied with Pittsburgh for the two NL wild-card slots. San Francisco can clinch a playoff berth Tuesday night with a win and a Milwaukee loss.
"This was a very important game obviously for us and it would've been a tough one not to win," Giants manager Bruce Bochy said.
The Giants had runners in scoring position in the eighth, ninth, 10th and 11th but failed to score.
"When you play that long and that type of ballgame with 53,000 people or so, most of them pulling against you, to squander away some opportunities late, to stay as strong as we did as a club and fight and get a win says a lot about these guys," Giants starter Jake Peavy said.
Peavy held the Dodgers hitless through four innings before giving up a leadoff homer to Carl Crawford in the fifth. He allowed two runs and four hits in seven innings.
The Dodgers didn't have a hit after the sixth and put only three runners on base during that stretch. Two were hit by pitches and the other reached on a throwing error.