Kim Ha-seong homered and Mike Clevinger had a strong outing for the Padres, who shut down Pujols and the Cardinals 5-0 Tuesday night to clinch their first winning record in a full season since 2010.
Kim homered to left off Adam Wainwright (11-10) with two outs in the fourth, his 10th, for a 3-0 lead. Manny Machado lobbed an RBI single into shallow right with one out in the fifth and Juan Soto hit a run-scoring single to right off Packy Naughton with two outs in the seventh.
Jake Cronenworth hit a two-run, opposite-field single with two outs in the first.
Clevinger (6-7) held the Cardinals to three hits in 5 2/3 innings while striking out three and walking two. Padres starters have a scoreless streak of 20 2/3 innings. The right-hander got the hook after allowing a double to Paul Goldschmidt with two outs in the sixth and then hitting Nolan Arenado with a pitch. Martinez came on and retired Corey Dickerson.
Wainwright allowed four runs and six hits in six innings, walked two and struck out one.