Aledmys Diaz's walk-off single in the ninth inning gave the Cardinals a 6-5 come-from-behind victory over the San Diego Padres on Thursday night.
Diaz ripped a full-count, one-out, bases loaded pitch into left field off reliever Carlos Villanueva (1-1).
Tommy Pham led off the bottom of the ninth with a double. Greg Garcia drew a walk and Jeremy Hazelbaker moved the runners over with a perfect bunt. Jedd Gyorko was walked intentionally to set the stage for Diaz's heroics.
St. Louis reliever Jonathan Broxton (2-2) picked up the win with a scoreless ninth.
The Cardinals erased a 5-1 deficit in the eighth. Hazelbaker led off with a double and he scored on hit by Gyorko, his seventh RBI of the series against his former team. Kolten Wong doubled with one out and Stephen Piscotty hit a three-run homer to center field.
Andrew Cashner, the subject of trade rumors the past few days, allowed one run and three hits for San Diego. He struck out eight and did not walk a batter. Cashner has allowed one run or less in three of his last four starts.
Alexei Ramirez had three hits and drove in two runs for the Padres, who have scored an NL-best 226 runs since June 1.
St. Louis starter Adam Wainwright gave up two runs and seven hits over six innings. He struck out eight and did not walk a batter.
Cardinals outfielder Matt Holliday left the game in the sixth inning after he was hit in the face by a pitch. The ball appeared to strike Holliday's helmet and then glance off his nose. X-rays were negative and he is listed as day-to-day.
Michael Wacha (5-7, 4.45) takes on RHP Brandon McCarthy (2-0, 1.69) in the first of a three-game set against the Dodgers in St. Louis on Friday. Wacha is 2-4 with a 4.85 ERA in 10 home starts this season.