Scott Schoeneweis hit Paul McAnulty with a pitch to drive in the winning run with the bases loaded in the ninth inning, giving San Diego a 2-1 win over the New York Mets.
Schoeneweis (0-2) hit McAnulty with a first-pitch fastball in the right shoulder after three walks in the inning to score pinch hitter Scott Hairston and give the Padres their second straight win.
"It's tough to lose a game like that," said Schoeneweis. "The last pitch just got away. It was one of those days, one of those things."
McAnulty was looking for a first-pitch breaking ball, but instead got plunked in the shoulder. He almost forgot to run to first base after he got hit.
"I ain't going to complain," he said. "We will take it any way we can get a run or a win."
Hairston led off the ninth with a walk against Schoeneweis. Brian Giles also walked, his fourth straight. Adrian Gonzalez advanced the runners on a ground out before Schoeneweis intentionally walked Kevin Kouzmanoff to load the bases for McAnulty.
"Leadoff walks are always killers late in the game," New York manager Willie Randolph said. "Scotty wasn't on his game and it showed. He missed his spots and didn't make his pitches."
Trevor Hoffman (1-4) pitched a perfect ninth for the win by striking out Ryan Church and completing the five-hitter.
The Mets lost for just the third time in 10 games.
San Diego (25-37) won its second straight game but got bad news afterward when it learned that second baseman Tadahito Iguchi could be lost indefinitely after he separated his right shoulder on a bizarre play in the seventh inning.
Iguchi hit a one-out single, his third hit, and Giles walked against reliever Pedro Feliciano. With two outs, Kouzmanoff hit a hard grounder between third base and shortstop. Iguchi tried to avoid the ball, but it hit him on the leg. Iguchi was ruled out and Kouzmanoff got credit for a single.
But in trying to miss the ball, Iguchi fell awkwardly to the ground and landed on his right shoulder. He was replaced by Edgar Gonzalez between innings.
Padres manager Bud Black said the initial prognosis was that Iguchi could miss a minimum of four weeks.
Josh Banks threw six solid innings in his second start for San Diego. He gave up one run on five hits with three strikeouts and a walk. The right-hander allowed his first earned run with the Padres in 23 innings since being recalled May 22 from Triple-A Portland on David Wright's RBI single in the sixth.
"He mixed a variety of pitches again," Black said. "He has a good feel for his pitches. All his pitches do what they are supposed to do."
Justin Hampson and Heath Bell each threw an inning of scoreless relief before Hoffman.
New York's Mike Pelfrey failed to win for the ninth time since his last win on April 15. But Pelfrey threw well for the second straight outing after Mets manager Willie Randolph had considered dropping him from rotation.
Pelfrey gave up one run on eight hits over six innings. The right-hander, who received his second straight no decision after six consecutive losses, walked three and struck out one.
Banks helped his own cause with a one-out single in the third. After Jody Gerut's single, Banks scored on Iguchi's double for a 1-0 lead. Iguchi finished with three hits.
But the Padres wasted a chance to increase the lead in the inning after Giles walked to load the bases. Pelfrey retired Adrian Gonzalez on a fly ball and retired Kouzmanoff on a grounder.
Pelfrey got out of another bases-loaded, one-out jam in the fifth when he got Kouzmanoff to hit into a double play.
"It's huge that you can get out of a bases-loaded situation, especially with the 3-4-5 guys coming up," Pelfrey said. "I didn't help myself as I didn't throw too many off speed pitches for strikes. But when I had to make a pitch, I battled."
Jose Reyes singled to lead off the sixth. After going to second on a sacrifice bunt, he scored on Wright's single to tie the score at 1-all.
Reyes singled in the first inning to reach base in the 36th consecutive game, extending his team record. Reyes also walked and had two stolen bases.