SAN FRANCISCO (AP) Adam Wainwright allowed four hits over 7 2-3 innings, Matt Carpenter continued to feast on San Francisco pitching and the St. Louis Cardinals ended a scoring drought, beating the Giants 2-0 Wednesday night.
Carpenter had three hits and drove in a run, improving to .520 (26 for 50) against the Giants to help the Cardinals end a three-game losing streak. Matt Holliday added two hits and an RBI.
Wainwright (11-4) took over the NL lead in ERA (1.89) and wins. He walked two and struck out one and his infielders combined to record 18 outs.
The closest the Giants came to scoring came in the eighth, when Tyler Colvin sent a drive to the wall in center field and defensive replacement Peter Bourjos hauled it in.
Joe Panik, who had two hits, was the lone Giant to venture past first base, reaching third with two outs in the sixth and again with two outs in the eighth.
Ryan Vogelsong (5-5) gave up two runs on six hits over seven innings. He walked one and struck out eight. Vogelsong lost his second straight start despite a 2.08 ERA with a walk and 15 strikeouts over that span.
The Cardinals ended a 26-inning scoreless streak by scoring twice in the third. Oscar Tavares doubled and Mark Ellis singled. After a strikeout, Carpenter and Holliday each singled in runs.
Vogelsong retired 10 of the final 11 batters he faced, allowing one hit the rest of his outing.
Wainwright faced just two over the minimum until Panik singled with two outs in the eighth. Pinch-hitter Hector Sanchez also singled and Pat Neshek came on to get Gregor Blanco to pop out to end the end.
Trevor Rosenthal came on to record the final three outs for his 25th save in 28 chances after giving up an infield hit to Hunter Pence to start the ninth. Pence was originally ruled out, but the call was reversed following a review.
NOTES: Tavares made his first MLB appearance in CF. . Cardinals RHP Joe Kelly (left hamstring strain) will make at least one more rehab start. . RHP Carlos Martinez (1-3, 4.13) gets the start for the Cardinals on Thursday, his fourth straight and fifth overall. The Cardinals are unbeaten in his first three starts. ... LHP Madison Bumgarner (9-5, 2.90) starts for the Giants in the series finale. He's 3-3 in six career starts against the Cardinals. . Giants OF Angel Pagan (lower back strain) will receive an epidural Thursday morning in Los Angeles before rejoining the team. He'll rest through the weekend. . Giants 1B Brandon Belt (thumb) is expected to be activated from the DL when the Giants open a series in San Diego on Friday. . IF Marco Scutaro (lower back) continues to increase his playing time in the Arizona Rookie League. . Cardinal 1B Matt Adams went hitless in four at bats, ending a career-best eight-game hitting streak.