The Padres' Tommy Medica homered in the fourth to tie the score 2-2. It was Medica's third homer since being elevated from Double-A on Sept. 10 and it landed in the sand box outside the fence in center field.
"We got a little spark when Tommy hit it into the sand," Black said.
Medica's blast erased Kennedy's mental error in the top of that inning, one that came without him delivering a pitch.
Paul Goldschmidt opened with a double and advanced to third on Martin Prado's single. With runners at the corners, Kennedy stepped toward third on a pick-off attempt, but didn't throw the ball. Goldschmidt scored on the balk for a 2-1 lead.
"I missed the sign," Kennedy said. "That was my mistake."
The Diamondbacks had pulled even at 1 in the third when Delgado drove in Gerardo Parra with a single up the middle. Parra led off the inning with a double after Kennedy retired the first six batters.
Two doubles got the Padres a run in the first. Headley's double off Parra's glove in right-center chased home Denorfia, who was aboard after his one-out double.
Long-time Padres' minor leaguer Chris Robinson's three-run homer in the eighth was the first hit of his career, coming on his sixth major league at-bat.
"That was the highlight of the year," Gyorko said. "That was awesome."
Rene Rivera, Headley and Denorfia all had three hits for the Padres.
NOTES: Venable isn't 100 percent with his abdominal strain, but he returned to the starting lineup. Venable, who has a team-high 22 HRs, missed two games. ... SS Ronny Cedeno, who was beaned by a pitch from Heath Bell on Monday, remains out with a headache. ... Goldschmidt extended his hitting streak to 15 games with a fourth-inning double. ... Diamondbacks RHP Trevor Cahill (8-10) starts in Thursday's series finale. He's 5-0 with a 2.64 ERA since returning from a hip contusion on Aug. 17.