PITTSBURGH -- Ike Davis' pinch-hit, three-run home run in the eighth inning lifted the Pittsburgh Pirates to a 5-2 victory over the St. Louis Cardinals on Tuesday night.
Davis, out of the starting lineup for a sixth consecutive game while converted third baseman Pedro Alvarez again started at first base, connected with two outs off right-handed reliever Seth Maness (5-3) for his ninth home run of the season and third as a pinch hitter.
Left-hander reliever Tony Watson (9-1) got the win with two scoreless innings of relief, although he cost starter Gerrit Cole a victory by allowing two inherited runners to score.
The win was costly for the Pirates, though. Center fielder Andrew McCutchen left the game in the fifth inning with discomfort in his left rib cage, and Alvarez exited an inning later with discomfort in his left foot.
Pirates left fielder Starling Marte reached base in all four plate appearances with two singles, a walk and a hit by pitch. Catcher Russell Martin had three hits, including a double.
Pittsburgh first baseman Gaby Sanchez and Marte hit consecutive one-out singles in the eighth inning. After shortstop Clint Barmes flied out, Davis hit a drive to right-center field that enabled the Pirates to snap a two-game losing streak and send the Cardinals to just their fourth loss in 13 games.
Mark Melancon pitched a scoreless ninth for his 23rd save.
The Cardinals scored twice in the seventh inning to tie the score at 2-2.
Watson replaced Cole with no outs and runners on first and third, and he gave up a sacrifice fly to center fielder Jon Jay and an RBI single to rookie pinch hitter Randal Grichuk, who was recalled from Triple-A Memphis earlier in the day.
Cole took a no-hitter into the sixth inning before giving up second baseman Kolten Wong's two-out double. In his second start since missing 46 days with a straight right lat, Cole was charged with two runs and three hits in six-plus innings. He finished with nine strikeouts and one walk.
Cardinals starter Lance Lynn also allowed two runs in six innings, surrendering six hits while walking three and striking out three.
After leaving the bases loaded in the second inning, the Pirates scored the game's first run in the fourth on a fielder's choice grounder by shortstop Clint Barmes.
Pittsburgh third baseman Josh Harrison led off the fifth with a home run into the left field bleachers, his 12th of the season, to increase the Pirates' lead to 2-0.
NOTES: St. Louis OF Shane Robinson was placed of the 15-day disabled list with a subluxation of the left shoulder, which occurred when he slid awkwardly while being caught stealing second base Monday night. OF Randal Grichuk was recalled from Triple-A Memphis. ... Cardinals LHP Marco Gonzalez is expected to be recalled from Memphis on Saturday to start in one of the games of the doubleheader against the Chicago Cubs at St. Louis. ... Pittsburgh INF Clint Barmes started in place of SS Jordy Mercer, who has just four singles in his last 21 at-bats. ... Cardinals RHP Adam Wainwright (15-8, 2.52 ERA) will start Wednesday afternoon against Pirates LHP Jeff Locke (5-3, 3.69 ERA) in the finale of the three-game series.