Paul Goldschmidt drove in a run and had three hits on the night, Nolan Arenado had a pair of hits, including the walk-off single, and the St. Louis Cardinals edged the San Diego Padres 4-3.