Jose Martinez is making the most of his limited opportunities.
Martinez sliced an opposite-field pinch-hit single to the right-center field gap off Wade Davis with one out in the ninth inning, driving in the tying and go-ahead runs and lifting the St. Louis Cardinals over the Colorado Rockies 3-2 on Thursday.
"Trying to put the ball in play, trying just to get one run, that's the most important thing," Martinez said.
Greg Garcia singled with one out against Davis (1-4) and took third on a single by rookie Harrison Bader.
Bader stole second, and Martinez singled on a high fastball, giving the Cardinals their ninth walk-off win this season.
It was the first career walk-off RBI for Martinez, whose playing time has decreased since Mike Shildt became the interim manager on July 14.
"It's a great teammate. That's probably one of the best compliments I can give Jose," Shildt said. "He's still getting opportunities. He's not getting quite as many, but he's determined to make the most of them and showed up ready to take a really quality at-bat with a nice plan."
Davis has a career-high five blown saves in 36 chances.
"I left it over the plate," he said. "A couple of line drive hits there. Obviously, the stolen base didn't help either."
Colorado, which began the day one game back for the NL's second wild card, lost three of four at the Cardinals. The Rockies had been seeking to tie the franchise record of nine straight series without a series loss but instead lost a series for the first time since dropping two of three at San Francisco from June 26-28.
"We're in every game now, which is good, and we've won most of them," Rockies manager Bud Black said. "We've got to continue to pitch well. If we do that we'll be fine."
Chasen Shreve (3-2), acquired from the New York Yankees on Saturday, pitched a perfect ninth in his second appearance for the Cardinals.
"This is a focused group that's really dedicated to playing good baseball and to moving this thing forward and to win games and to put us in position even further than where we are now," Shildt said. "This team wants to play in the playoffs."
St. Louis starter Miles Mikolas allowed two runs — one earned — and seven hits in seven innings. Rockies starter Antonio Senzatela gave up one run and five hits in six innings.
After the Cardinals loaded the bases in the sixth, Senzatela struck out Bader on a curveball in the dirt with an 0-2 count.
Tyler O'Neill put St. Louis ahead with a sacrifice fly in the third. Gerardo Parra had a tying single in the fourth, and Colorado went ahead when Ian Desmond hit a bouncer to the third-base side, and Mikolas made an off-balance throw that hit the tarp in foul territory in right field. Desmond was credited with a single, and Nolan Arenado came home from third on the error.
MAKING A SPLASH
O'Neill made a running catch against the wall right-field wall in the first inning to rob Arenado of an extra-base hit and a diving catch of a liner off of Trevor Story's bat in the fourth.
"If I can help on the defensive side of the ball that's what I'm going to do," O'Neill said. "I was just able to make a couple of plays out there to help the boys get the game going."
Cardinals: OF Marcell Ozuna left in the fifth inning because of discomfort in one of his left toes. 2B Kolten Wong (left knee inflammation) began an injury rehabilitation assignment at Class A Peoria and is expected to join the team this weekend in Pittsburgh.
Cardinals: RHP John Gant (3-4, 3.49 ERA) starts a three-game series on Friday at Pittsburgh, where RHP Chris Archer (3-5, 4.31 ERA) is to make his Pirates debut after his acquisition from Tampa Bay. Gant is coming off his shortest outing of the season, lasting 4 1/3 innings in a 5-2 loss to the Chicago Cubs on Sunday night.