DENVER -- Ubaldo Jimenez learned a valuable lesson: don't challenge Barry Bonds and expect to win.
"I know he is Barry Bonds," the young Colorado Rockies pitcher said. "I saw him as just another hitter."
Bonds tipped his cap to the rookie.
"He's going to be good," Bonds said "He's got a lot of talent."
It was a costly loss for the Rockies, who fell five games behind Arizona in the NL West after the Diamondbacks beat the Padres. Colorado is four games behind San Diego in the wild-card race.
The Rockies lost for only the second time in seven games, and the Padres will come to Denver for a three-game series starting Friday night.
Bonds put the Giants ahead 2-0 in the first, hitting a two-run homer that barely cleared the fence in left with two outs off Jimenez.
"Barry hit a pitch that was 99 mph," San Francisco manager Bruce Bochy said. "To be 43 years old and still have the bat speed he does, it's incredible."
Said Bonds, who has hit 26 home runs in his career at Coors Field: "I don't think of doing it when a young guy throws that hard. I'm too old for that now."
Bonds also passed Lou Gherig for fourth on the career RBI list with 1,996. Bonds is still 201 RBI behind Aaron for the all-time lead. Babe Ruth (2,213) and Cap Anson (2,076) are second and third.
Pitching around Bonds was never a consideration of Colorado bench coach Jamie Quirk, who filled in as manager for Clint Hurdle. The Rockies skipper was serving a one-game suspension for "inappropriate actions" last Friday against the Arizona Diamondbacks. Hurdle was ejected from that game for arguing a close call at first base.
"No," Quirk responded when asked if walking Bonds was an option. "We were going to get him out."
Bonds was 1-for-2 with a walk and was hit by a pitch. He has 54 career home runs against the Rockies. The slugger broke Hank Aaron's record with his 756th home run last month.
Pedro Feliz had a triple, home run and two RBI, and Bengie Molina added a solo home run for the Giants, who snapped a four-game losing streak.
In his fourth start of the season and 23rd of his career, Correia (4-6) went six innings, giving up a run and four hits. He struck out four without a walk, and is 3-0 with a 2.05 ERA as a starter this season.
"Kevin has been throwing the ball well since he has been in the rotation," Bochy said. "You can tell that he's comfortable there, and that is where he wants to be."
The Rockies, who came back from a 5-1 deficit on Tuesday night to win 6-5, hit back-to-back singles to start the ninth against Steve Kline. Brad Hennessey came on and gave up a two-run single to Troy Tulowitzki, but the rally ended there. Hennessey got the final two outs for his 18th save in 21 chances.
Jimenez (3-3) allowed three runs and seven hits in five innings. He went 2-0 with a 1.69 ERA in his previous four starts.
Feliz hit his 18th home run of the year, a solo shot to center field in the fourth.
Molina made it 4-0 with a home run to left off Jorge Julio in the sixth inning. It was the 100th home run of his career.
With rain falling, Colorado got to Correia for a run in the sixth. Matt Holliday singled with one out to drive in Willy Taveras, who doubled to start the inning.
Feliz tripled to drive in Rajai Davis, a pinch-runner for Bonds, in the eighth inning.
"My back got stiff out there with the rain and cold," Bonds said of his early departure.
Afternoon rain forced the cancellation of batting practice for both teams. ... Giants LHP Jack Taschner had an MRI exam in San Francisco. No results were available yet. ... Jimenez became the 449th pitcher to allow a home run to Bonds. ... An MRI on the right elbow of Rockies RHP Taylor Buchholz showed no structural damage. He won't be available for the weekend series with San Diego. ... Colorado won the season series 10-8.