SAN FRANCISCO -- Just when it seemed the San Diego Padres were sinking in the season's final week, Brian Giles provided a big boost with one powerful swing.
Giles hit a go-ahead three-run homer with two outs in the ninth, and the Padres ended a four-game losing streak with a 6-4 victory over the San Francisco Giants on Tuesday night.
The win gave San Diego a one-game lead over Philadelphia in the wild-card standings after the Phillies lost 10-6 to Atlanta. And the Padres also pulled within two games of NL West-leading Arizona, which lost 6-5 at Pittsburgh.
Giles, who was in a 4-for-52 slump, hit his 12th home run of the season off closer Brian Wilson (1-2) and spoiled another strong outing by Giants starter Matt Cain. whose winless stretch reached five consecutive starts. Cain hasn't won since Aug. 28 against Colorado.
Never miss a local story.
Joe Thatcher (1-1) pitched 1ª innings for his first major league win in his 18th career appearance. Trevor Hoffman finished for his 41st save.
Randy Winn's 13th homer of the season highlighted San Francisco's four-run second against former Giant Brett Tomko. Scott Hairston homered in the sixth for San Diego and Khalil Greene connected for a solo shot the next inning.
Barry Bonds was held out of his 10th consecutive game with a sprained right big toe -- and he has one more chance today to play for a final time in front of his home fans in San Francisco.