SAN DIEGO -- The Pittsburgh Pirates' first win of the season had a little wind and rain, a lot of Josh Fogg and a nice performance by the bullpen.
"We're excited," reliever Salomon Torres said after the Pirates beat the San Diego Padres 3-2 Friday night after opening with three straight losses. "It's only one, but you've got to start from one. Hopefully we can build on this and get some momentum going."
Fogg held the Padres to one run on four hits in 6 1/3 innings, and singled and scored.
The Pirates' win left the New York Mets (0-4) as the majors' only winless team.
Fogg and three relievers combined on a six-hitter. Jose Mesa pitched the ninth, giving up a two-out RBI double to Khalil Greene before getting the save.
Fogg allowed just two hits until Ryan Klesko homered with one out in the seventh to pull the Padres to 2-1. Ramon Hernandez followed with a double to the base of the right-field wall to chase Fogg.
Salomon Torres retired Xavier Nady and walked Greene before Mike Gonzalez struck out pinch-hitter Miguel Ojeda to end the threat.
"It's good when you get out there and get a couple of runs and settle down," Fogg said. "The homer doesn't really kill you there. You don't want to give it up, but you still have a one-run lead and you just go from there."
It was Klesko's first homer of the season. He hit only nine last year, when he and the Padres' other sluggers often groused about Petco Park's vast outfield. His homer Friday night went an estimated 410 feet, landing in "The Beach," a sandy play area in front of the bleachers in right-center.
"We just couldn't figure Fogg out," Padres manager Bruce Bochy said. "Our bats started coming alive the back end of the game. We couldn't get much going early."
With a strong wind blowing to right field, rain started falling in the top of the eighth, when the Pirates added an unearned run on two errors and a walk. Rob Mackowiak reached on shortstop Greene's throwing error, advanced on Bobby Hill's walk and scored when Benito Santiago's grounder ate up third baseman Sean Burroughs for a fielding error.
Craig Wilson hit a bases-loaded, two-run single with two outs in the third off Brian Lawrence (0-1). Fogg opened the inning with a single to center, Jack Wilson hit a one-out single to left and Tike Redman walked. After Jason Bay flied out to center, Craig Wilson singled to right on an 0-2 pitch to score Fogg and Jack Wilson.
"I had an 0-2 count on Wilson and I threw a ball over the plate," Lawrence said. "That's a cardinal sin, pretty much."
Fogg struck out five and walked one. Lawrence allowed two runs and seven hits in seven innings, struck out five and walked two.
Manager Lloyd McClendon was ejected in the eighth inning for arguing an appeal on a checked-swing by San Diego's Brian Giles that was called a ball. McClendon was jawing at third base umpire Dan Iassogna as he went out to visit Gonzalez.
"I was coming off the mound and the home plate umpire told me I'd been thrown out of the game," McClendon said. "I said, 'By whom?' And he said, 'The third base-umpire.' I said, 'Why?' And he said, 'I don't know. You'll have to talk to him."'
McClendon went over to Iassogna and continued arguing. At one point, he slammed his cap to the ground.
Padres INF-OF Eric Young was put on the 60-day disabled list on Friday with a dislocated right shoulder. The Padres purchased the contract of INF Jesse Garcia from Triple-A Portland. ... Jack Wilson was back in the Pirates' starting lineup after being a late scratch on Thursday night. Wilson was hit on the left hand on Wednesday and was still sore when he took batting practice on Thursday. ... San Diego CF Xavier Nady was back in the starting lineup. He didn't start Thursday night's game because of strep throat, but entered the game in the 10th inning and drew a bases-loaded walk in the 12th to give the Padres a 1-0 win.