SAN DIEGO -- Cole Hamels said he had a disappointing outing. The Philadelphia Phillies' bullpen? It was incredible, Hamels said.
Two errors by San Diego Padres second baseman Logan Forsythe allowed the Phillies to claim a 7-5 victory in 13 innings at Petco Park on Wednesday night.
Forsythe bobbled Ben Revere's grounder for one error with two outs in the 13th, then threw wildly toward home for another error. The ball bounced off Chase Utley, who scored the go-ahead run, allowing Domonic Brown to score the game's final run.
"The ball was in the hole. I tried to get to it before the lip (of the grass), misplayed it and made the error," Forsythe said. "I rushed myself and didn't make the play. I didn't know what happened with the throw afterwards."
The win allowed the Phillies to take two of three in the series. Philadelphia (38-41) has prevailed in 26 of its 33 outings at Petco Park. The Padres (39-40) lost for the fourth time in five games.
The Phillies' bullpen allowed just two hits and no runs over the final seven innings.
"They came in and absolutely shut it down," Hamels said. "It's fun to see, and it's nice to see because you want to see that confidence in our bullpen, especially the young guys. That's really pleasing (and) building the confidence for the next series."
Joe Savery (1-0) pitched a hitless 12th for the victory. Jonathan Papelbon gave up a hit in the 13th before striking out Nick Hundley for his 15th save. Those two combined with relievers J.C. Ramirez, Phillippe Aumont and Jake Diekman to blank the Padres after they took a 5-2 lead in the sixth inning.
Tommy Layne (0-2) allowed two runs (both unearned) in two-thirds of an inning.
Delmon Young's two-run homer in the eighth, his seventh of the season, tied the score at 5.
Hamels, a San Diego native, didn't have his usual stellar effort against his hometown team.
Hamels had won his previous five starts against the Padres, allowing just one run or none in each of those games with a 0.73 ERA. At Petco Park, Hamels had won four in a row with 0.60 ERA. Hamels hadn't lost to the Padres since July 19, 2007.
This time, the Padres touched him for five runs (four earned) on seven hits in six innings. Hamels struck out five and walked two.
"Another poor performance," said Hamels, who is 0-2 with a 4.68 ERA in his past four starts.
Padres starter Robbie Erlin, who was called up Wednesday from Triple-A Tucson, gave up three runs (two earned) in 6 1/3 innings. He allowed four hits and one walk while striking out seven. Erlin's last major league start was June 1, when he defeated the Toronto Blue Jays.
Kyle Blanks' RBI double in the sixth gave the Padres a 5-2 advantage. However, Blanks cost the Padres a run in the seventh when he dropped pinch hitter Kevin Frandsen's foul ball to right that would have ended the inning. Instead, Frandsen singled to right to score Brown, cutting San Diego's lead to 5-3.
Young's home run off reliever Luke Gregerson to left with two outs in the eighth forced extra innings.
The Phillies took a 2-0 lead on an RBI double off the wall in left by Michael Young in the first and a sacrifice fly by Carlos Ruiz in the second.
San Diego rallied for two runs in the third on Forsythe's RBI double and an error in right by Delmon Young that allowed Forsythe to score, tying it at 2.
Denorfia's two-run homer off Hamels with two outs in the fifth gave the Padres a 4-2 lead.
NOTES: Phillies RHP Mike Adams has three tears in his shoulder and is weighing whether to have season-ending surgery or rehab and an attempt a return later this season. Adams met with Dodgers physician Neal ElAttrache in Los Angeles on Tuesday to get a second opinion. Adams is 1-4 with a 3.96 in 28 games. ... Phillies RHP Jonathan Pettibone left his last start against the New York Mets in the seventh inning last Saturday because of tightness in his lower back. However, the Phillies said there were no lingering effects, and Pettibone will start as scheduled against the Dodgers on Thursday. ... To clear a roster spot for Erlin, the Padres optioned RHP Brad Brach back to Tucson. ... Padres 2B Jedd Gyorko singled in the first inning but felt tightness in his right leg as he rounded first base during the first game of a rehab assignment in Double-A San Antonio on Wednesday night. Gyorko, who has been on the disabled list since June 10 with a right groin strain, had been expected to be activated Friday when the Padres begin a road trip in Miami. ... The game drew a crowd of 25,610.