Though Wainwright did everything in his power to earn the W on Tuesday, he fell short when Giovanny Gallegos allowed a game-tying home run to Trent Grisham in the eighth. But that moment of misfortune laid the groundwork for something special, as it opened the door for Albert Pujols to walk off the Padres with a 10th-inning sacrifice fly to give the Cardinals a 3-2 win over San Diego.