Pinch-hitter Paul Goldschmidt grounded into a game-ending double play with two runners on base and the NL Central-leading Cardinals fell short during a ninth-inning rally, losing to the Diamondbacks 9-7 Wednesday.
The Cardinals, who went with a lineup of reserves to give their typical starters some rest after a 19-inning game, had their division lead cut to 1 1/2 games by Milwaukee, which beat Cincinnati 9-2.
St. Louis and Arizona were back on the field about 11 hours after the Diamondbacks' 3-2 marathon win, a game that took nearly seven hours Tuesday. Cardinals starter Michael Wacha was pulled in the second inning with tightness in his right shoulder.
Errors by rookie infielder Tommy Edman and catcher Matt Wieters helped Arizona score seven times in the sixth for a 9-5 lead. Wilmer Flores homered during the burst, which also included a run-scoring wild pitch.
The Cardinals loaded the bases with one out in the ninth and Wieters hit a two-run single.
Goldschmidt was up next - he had homered in the first two games of the series, marking his return to the desert after the Diamondbacks traded their longtime star to St. Louis in the offseason.
Facing former teammate Archie Bradley, Goldschmidt hit a grounder and Arizona turned two to end it. Bradley got his 17th save.
Merrill Kelly (13-14) exited trailing 5-2 after six innings and wound up with the win.
Reliever Junior Fernandez (0-1) took the loss.
Cardinals rookie outfielder Randy Arozarena hit his first major league home run, stole home and threw out a runner at third base. Martinez added a triple, double and two RBIs.
After a day off for the team, RHP Dakota Hudson (16-7, 3.45 ERA) is scheduled to start at home Friday in the series opener with the Chicago Cubs.