PITTSBURGH -- After four hours in the rain and with his team down to its fourth first baseman, Josh Harrison wasn't going to be patient.
With the winning run at second and two outs in the bottom of the 12th at soggy PNC Park, Harrison didn't pass up a first-pitch fastball from Fernando Rodriguez.
"Pitchers really aren't going to fool around in that situation," Harrison said. "They're going to try to attack the zone. Anytime you've got the winning run in scoring position, if you've got a pitch to hit, you don't want to let it go."
Harrison's first hit in four at-bats Sunday capped a Pirates comeback that included a ninth-inning rally against Houston closer Brett Myers and gave them their fourth win in six games.
With two outs and no one on in the 12th, Houston manager Brad Mills went to Rodriguez (1-4) to face Barmes. Barmes doubled to left and scored on the next pitch, sliding under the tag of Jason Castro, who received a high throw from Justin Maxwell.
"It's a lot of fun to score that kind of run," said Barmes, Pittsburgh's regular shortstop who in the top of the inning manned first base for the first time in his career.
The inning before that, Pirates starting catcher Rod Barajas made his first appearance at the position since July 9, 2008.
"My mentality has always been to win the game in nine innings -- after that, all bets were off," Pirates manager Clint Hurdle said. "We were trying out first baseman. One of them actually played there before, too.
"It was a good team win. Everybody threw something in; everybody needed to do something."
Due largely to eight dominant innings from starter Wandy Rodriguez, the Astros were on the verge of winning a road series for the first time since June 17-19, 2011.
"I made a good pitch on Alvarez," Myers said. "I thought it was a strike, (umpire Jim Reynolds) called it a ball, then the sacrifice fly the next pitch. That's the way it goes sometimes. Some calls go our way; sometimes they don't. I mean, I shouldn't have ever been in that situation."
The start of the game was delayed 29 minutes, and a light rain persisted throughout the majority of the afternoon.
Walker and Andrew McCutchen each hit one-out doubles to right in the first, giving the Pirates a 1-0 lead. Two batters later, Casey McGehee walked. The only other baserunner Wandy Rodriguez would allow was a leadoff single by Alvarez in the fourth, but he was erased when Yamaico Navarro grounded into a double play.
Wandy Rodriguez had seven strikeouts to give him 31 in his past three outings against Pittsburgh. He retired the final 14 batters he faced. Despite conceding that "he still had plenty of pitches to go," Mills lifted Rodriguez after throwing 94 pitches, citing the hot bats of Tabata and McCutchen that were due up.
"It was the right thing to do to get (Myers)," Mills said. "Weather-wise and mound-wise, it was tough."
Carlos Lee had two hits and scored both Astros runs, and Castro had two hits and an RBI for Houston, which has lost five of seven.
Burnett almost matched Rodriguez. He did not walk a batter and had four strikeouts.
Torched for 12 runs in 2 2/3 innings May 2, Burnett has allowed a total of five runs in his other four starts combined.
Pittsburgh completed a 5-4 homestand in which it scored 23 runs, an average of 2.6 per game. ... Hanrahan pitched the 10th hours after being reinstated to the active roster before the game. He had missed the previous three games on the bereavement list due to the death of his grandmother. ... The Astros traveled to Philadelphia after the game to begin a two-game series in which RHP Lucas Harrell was scheduled to start Monday's opener. ... Pittsburgh will play its first game in the Miami Marlins' new ballpark Monday.
The Milwaukee Brewers have added RHP Zach Davies to the National League Championship Series roster, replacing LHP Gio Gonzalez, who left Tuesday night's game with a high left ankle sprain.
After Manny Machado's latest controversial slide in Game 4, SportsCenter looks at Machado's questionable history of being aggressive on the bases.
Christian Yelich says Manny Machado has always been a dirty player and kicking Jesus Aguilar didn't look like an accident.
Clayton Kershaw's start in Game 5 in the NL Championship Series is one of the biggest of his career -- and could be his last with the Dodgers.
Dodgers ace Clayton Kershaw takes the hill for perhaps the biggest start of his life, and the Astros turn to Charlie Morton, who hasn't pitched in two weeks.
Five hours and 15 minutes after Game 4 of the NLCS started, the Dodgers outfielder finally delivered the deciding blow as L.A. knotted things up with Milwaukee.