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.
Mets left-hander Jason Vargas has a fracture in his right hand and will be examined by a specialist.
After seeing too many peers leave money behind during this harsh free-agency period, more players might grab guaranteed dollars when they're offered.
Vladimir Guerrero Jr., Bo Bichette, Cavan Biggio and Kacy Clemens are among the four sons of former major league players to take the field in the Blue Jays' 11-3 win against Team Canada.
Braden Halladay, son of Roy Halladay, throws a scoreless inning for Team Canada in their 11-3 loss against Toronto.
No one comes out to play left field for the Phillies to start the top of the fifth, which leads to a minor delay before Andrew Pullin emerges from the dugout.
Aaron Judge suggested Orioles shortstop Manny Machado would look nice in Yankee pinstripes, earning him a warning on tampering. Machado says it was no big deal, though: 'Everyone always jokes' about those things.