SAN DIEGO (AP) — With relievers Mike Adams and Heath Bell in their usual roles, the San Diego Padres' win had a familiar feel to it.

But for how much longer?

Bell led another solid bullpen effort, Jesus Guzman had two RBIs and rookie Luis Martinez drove in the go-ahead run, lifting San Diego to a 4-3 win over the Arizona Diamondbacks on Thursday.

Bell got his 30th save, the third straight year he has reached that mark, and Adams pitched a scoreless eighth inning as the Padres avoided a three-game sweep.

Last-place San Diego has made both Bell and Adams available with the non-waiver trade deadline approaching on Sunday.

While Bell initially said he wasn't thinking that it might be the last time he pitched as a Padre, he later acknowledged: "It's one of those things that I thought this might be the last game. We'll just have to wait and see what happens. Am I going to Texas? Am I going to Anaheim? Where am I going? Just let me know."

Padres manager Bud Black said he tries not to think about any of the trade talk.

"If I had that thought, I change it in a hurry," Black said. "But I haven't. Just trying to get through that game and knowing that's how we win games, with a solid bullpen in close games."

Luke Gregerson (3-3), the first of four Padres relievers, retired the only two batters he faced in the sixth to escape a bases-loaded, one-out jam.

"The momentum is heavy on their side," Black said. "Threw some good sliders to (Cody) Ransom, threw some good sliders to (Ryan) Roberts. Those were critical, the key to the game, no doubt."

Gregerson, Josh Spence, Adams and Bell combined to allow just two hits over the final 3 2-3 innings.

"Luke came in and needed to make big pitches, make guys swing and miss and he accomplished that," Bell said.

Martinez and Orlando Hudson each had an RBI single in the sixth inning as the Padres erased a 3-2 deficit. Daniel Hudson (10-7) contributed to Arizona's troubles with two walks and a hit batter in the inning.

The Padres scored twice in the sixth with two outs after Guzman drew a walk and stole second without a throw when Hudson failed to look over at him on first base. Guzman scored when Orlando Hudson singled to center. After Daniel Hudson hit Kyle Blanks with a pitch, Martinez singled in the go-ahead run.

"Stupid two-out walk," Daniel Hudson said. "You can't do that. I do it all the time. I get two quick outs and, for some reason, I can't find the zone. I tried to be too perfect with that guy."

Daniel Hudson allowed four runs and seven hits in six innings. The right-hander struck out six and walked two. He came in 3-0 with a 0.83 ERA against the Padres in three career starts.

"It's probably the most frustrating game I've had all year," Hudson said. "If you told me I would have given up four runs before the game, I would have laughed in your face."

Brandon Allen tied his season high with three RBIs for Arizona, including a two-run homer. He also walked with the bases loaded in the sixth.

Justin Upton, who hit three homers in the first two games of the series, extended his hitting streak to nine games with a fourth-inning double for Arizona.

The Diamondbacks jumped in front on Allen's two-run homer in the second inning, Arizona's fifth of the series in spacious Petco Park. The Diamondbacks lead the NL with 119 home runs.

Guzman, who also walked twice, hit a solo homer, his fourth, in the second. He also drove in a run in the fourth when he hit a grounder in the hole on the left side of the infield that Ransom couldn't smother as he dove for the ball. As the ball rolled into short left field, Cameron Maybin scored from second base.

NOTES: Arizona INF Willie Bloomquist, who has taken over at shortstop since Stephen Drew sustained a season-ending broken right ankle last week, was not in the starting lineup despite a seven-game hitting streak. He grounded out leading off the ninth as a pinch-hitter. ... Black said the team is concerned with the slow progress of LHP Clayton Richard (strained left shoulder). "There's no doubt the medical staff is concerned because he is not recovering as quickly as they hoped," Black said. Richard has been on the disabled list since July 5. ... San Diego won for the second time in six games.


Copyright 2011 The Associated Press.