Buster Posey hit a game-ending two-run homer for his third clout in two nights, sending the San Francisco Giants past the Colorado Rockies 4-2 on Wednesday night for Bruce Bochy's 1,600th managerial victory.
Posey sent an 0-1 pitch from Juan Nicasio (5-6) just inside the left-field foul pole for his 18th homer of the year and second career walkoff homer. He also had one on May 3, 2013, against the Dodgers.
Santiago Casilla (2-3), who was ill Tuesday, plunked leadoff hitter Drew Stubbs in the back to start the ninth. Justin Morneau then doubled him home to tie the game at 2. Casilla got a key double play to get out of the inning.
Tim Hudson's strong eight-inning, eight-strikeout outing was wasted.
Posey followed his two-home run performance a night earlier with a go-ahead single in the seventh inning, then an even bigger hit. He has hit safely in 12 of his past 13 games.
After Madison Bumgarner's one-hit gem in a 3-0 win Tuesday, Hudson had his own fine outing. He didn't allow a hit until Corey Dickerson led off the fifth with a splash home run into McCovey Cove.
It marked the 100th homer into the bay in the 15th-year ballpark's history and 34th by a visiting team. Carlos Gonzalez hit the Rockies' other two.
Hudson reached the 2,000-strikeout mark and won consecutive starts for the first time in nearly three months, since May 27 and June 1.
Colorado's Franklin Morales saw his winless stretch reach eight starts since a July 8 victory against San Diego.
All of Morales' wins this season have come against the NL West, and he certainly pitched well enough to keep his team in the game. The left-hander allowed seven hits and one run in seven innings, struck out six and walked one.
Gregor Blanco's infield single put San Francisco ahead in the bottom of the fourth before Dickerson tied it the next inning with his 20th home run.
Hudson joined CC Sabathia, A.J. Burnett and Bartolo Colon as the active pitchers with 2,000 or more strikeouts. Bochy became the 19th manager with 1,600 wins.
In 14 career starts against Colorado, Hudson is 6-2 with a 5.16 ERA.
Rockies: Colorado placed LHP Boone Logan and catcher Wilin Rosario on the 15-day disabled list. Logan, on the DL for the third time this season, has left elbow inflammation for the second time and Rosario is nursing an inflamed left wrist. LHP Jorge De La Rosa is expected to make his next start â" Sunday at Arizona â" after bruising his left thumb while batting Tuesday.
Giants: Backup C Hector Sanchez is expected to miss the remainder of the season while recovering from a second concussion this year.
1B Brandon Belt still must rest for two more weeks with a concussion. He was away from the ballpark Wednesday after his wife went into labor. Shortstop Brandon Crawford didn't start to give him a break from what manager Bruce Bochy called "general soreness." Crawford struck out as a pinch-hitter in the ninth.
Rockies: RHP Jordan Lyles (6-1, 4.05) pitches the series finale in his first appearance against the Giants since Aug. 30, 2012. He makes his fifth start since spending a two-month stint on the DL with a broken left hand.
Giants: RHP Yusmeiro Petit (3-3, 3.59) starts in place of Tim Lincecum, who was moved to the bullpen after his recent struggles. Petit has retired 38 straight batters over his past seven appearances, six in relief. He is seven shy of the single-season record set by Mark Buehrle with the White Sox from July 18-28, 2009.
COLLEGE COMMISSIONER SIGHTING: Pac-12 Commissioner Larry Scott was part of the sellout crowd of 41,071.