San Francisco Giants' Andres Torres, right, is congratulated by Juan Uribe, left, and Pablo Sandoval after hitting an RBI single off of Chicago Cubs' Andrew Cashner in the ninth inning of a baseball game in San Francisco, Thursday, Aug. 12, 2010. The Giants won 8-7. (AP Photo/Jeff Chiu)
Pinch-hitter Andres Torres hit a bases-loaded single in the bottom of the ninth inning to send the San Francisco Giants into a weekend showdown against San Diego on a high note following an 8-7 victory over the Chicago Cubs on Thursday.
Aaron Rowand led off the ninth with an infield single against Andrew Cashner (1-5) and went to second on a sacrifice by Freddy Sanchez. After Aubrey Huff was intentionally walked, Cashner walked Buster Posey unintentionally to load the bases.
Torres, held out of the starting lineup because of tightness in his legs, then hit a drive to center that landed on the warning track and bounced over the fence for the winning hit.
Brian Wilson (3-1) pitched a hitless ninth for the win.
Now the Giants can turn their attention to the NL West-leading Padres, who have won seven of eight head-to-head meetings between the teams this season. But the Giants are a very different team than the one that last played the Padres in May.
The biggest difference is the presence in the lineup of rookie Buster Posey, who is hitting .335 since being called up from the minors May 29, and Burrell, who has 10 homers in 154 at-bats since joining the Giants on June 4.
San Francisco can take over first place in the NL West by sweeping the three-game series at home beginning Friday.