Pelfrey (6-3) gave up six hits and two walks in 7 2-3 innings, and Ryan Church came through with an RBI single in the sixth as the Mets stopped a five-game losing streak and avoided a series sweep by the Brewers.
Gallardo (8-5) gave up five hits in seven innings. The Brewers completed a 5-4 homestand and will travel to Chicago for a four-game series against the Cubs beginning Thursday.
Pelfrey allowed a single and a walk with two outs in the eighth, but
New York (38-39), which backed Pelfrey with a pair of double plays, was coming off a 9-18 record in June, its worst month in nearly six years. The Mets are without injured stars
Gallardo's 12 strikeouts were the most by a pitcher against the Mets since John Smoltz struck out 15 for the Braves on April 10, 2005, according to the Elias Sports Bureau. The Mets also won that game, 6-1.
Gallardo had six strikeouts in first three innings – including a pair by
It was a frustrating afternoon all around for Wright, who slammed his glove into the bench after making a throwing error in the second inning, then flung his helmet to the ground after taking a called strike three from Gallardo in the third.
But the Mets finally broke through in the sixth when
Gallardo then struck out Wright – Gallardo's 10th of the game and Wright's third in three at-bats. But Church sent a grounder past the outstretched glove of second baseman Craig Counsell for a single, scoring Castillo.
Church was thrown out trying to steal, but Gallardo walked