SAN DIEGO -- San Diego Padres manager Bud Black said he guessed wrong five times about the outcome of Sunday's game. He had a sixth sense, though, that turned out to be an accurate prediction.
Nick Hundley's RBI single with two outs in the 15th inning lifted the Padres to a 3-2 victory over the Chicago Cubs, ending a five-hour, 13-minute marathon at Petco Park.
"I had a sense about six times someone would end it," Black said, "but I thought Nick would get it done."
Logan Forsythe reached on a single with one out in the 15th before Ronny Cedeno grounded out. The Cubs intentionally walked Alexi Amarista before Hundley delivered the game-winning hit to center.
"Anytime someone gets walked in front of you, it's a little extra motivation," said Hundley, who has three career walk-off hits and a club-high seven game-winning hits this season. "Whether it's part of the game strategy (that) calls for it or they think it's a better matchup, whatever the thinking is, you still want to go out there and get it done."
The victory allowed San Diego (59-71) to take two of three from Chicago (55-75) in the series. The Padres rallied from six runs down to grab Friday's contest, and then came back in the 13th inning Sunday when it seemed they were headed for defeat.
"This was really a hard-fought game," Black said. "Both teams had their chances. Both teams were in position (to win). They're great when you win, (but) devastating when you lose.
"Fantastic win when it looked as dismal as it could look."
Dale Thayer (2-3) gave up two hits and a walk in his lone inning but came away with the victory.
The Cubs' eighth pitcher, Hector Rondon (2-1), allowed a run on four hits in 1 2/3 innings.
The game was scoreless before the Cubs ended the drought in bizarre fashion in the 13th.
Pinch hitter Darnell McDonald singled to open the inning and advanced to third on Starlin Castro's single to right. After Anthony Rizzo drew a walk to load the bases, Nate Schierholtz hit a grounder to first base. San Diego's Jesus Guzman attempted to throw out McDonald, who was racing home from third, but the ball nailed Schierholtz as the batter was running down the first base line.
"The play itself ... I got lucky," said Schierholtz, who left the game after injuring his back on the play. "(The ball) glanced off my (helmet) bill and hit me in the shoulder. Just a nightmare of a play."
The Cubs added a run on a sacrifice fly by Brian Bogusevic for a 2-0 lead heading into the bottom of the inning.
Chicago closer Kevin Gregg couldn't seal the win, though. He gave up an RBI triple to Cedeno, scoring Guzman, who had doubled. Gregg threw a run-scoring wild pitch that allowed Cedeno to tie the score at 2 with two outs.
Padres starter Andrew Cashner, facing the club that drafted him in 2008, then traded him in a deal involving Rizzo before the 2012 season, gave up just two hits in seven innings, retiring 11 in a row until Welington Castillo singled with one out in the fifth. Cashner struck out seven, walked one and hit a batter in 108 pitches (78 strikes).
The Padres have given Cashner little support in his last three starts, producing just three runs in his past 25 innings.
Chris Rusin matched Cashner by shutting out San Diego for 6 1/3 innings on three hits with four walks and three strikeouts on only 87 pitches (47 strikes). He allowed an infield single to Chase Headley in the second, a base hit to Chris Denorfia in the third and a leadoff single to Cashner in the sixth.
Neither club had a runner reach third base until the 11th, when Castro walked and moved up two bases on a single by Schierholtz, the first Chicago hit since Castillo's in the fifth. But that was as far as Castro got, as Bogusevic flied out to left to end the inning.
NOTES: The Cubs will open a three-game series at Dodger Stadium on Monday. RHP Jake Arrieta (1-0, 3.71 ERA) will take the mound for the Cubs, while the Dodgers will counter with RHP Zack Greinke (12-3, 2.91). ... The Padres visit the Diamondbacks for a three-game set beginning Monday. Padres RHP Tyson Ross (3-6, 2.85) will start against Arizona RHP Brandon McCarthy (2-8, 5.44). ... Sunday's game drew an announced crowd of 22,762.