PHOENIX (AP) The Arizona Diamondbacks showed a bit of resiliency - against their opponent and the atmosphere inside Chase Field.
Rickie Weeks Jr. hit a three-run homer, Paul Goldschmidt had two RBIs and the Diamondbacks beat the San Diego Padres 7-5 on Tuesday night in front of 14,110 fans, the smallest crowd in Chase Field's 18-year history.
''We appreciate the people who were here. I thought we played well,'' Arizona manager Chip Hale said. ''The guys didn't let down because it wasn't a big crowd with a lot of emotion. They created their own emotion in the dugout. That's baseball.''
Weeks got them started, hitting a three-run homer off Christian Friedrich (4-4). Goldschmidt had an RBI single and a sacrifice fly after being named to his fourth straight NL All-Star team.
Jean Segura sparked Arizona's lineup from the leadoff spot, finishing with three hits, three runs and an RBI.
Zack Godley (2-0) worked around trouble through five innings and so did Brad Ziegler in the ninth, giving up a leadoff homer to Brad Schimpf and two more hits before striking out Matt Kemp to close out his 18th save.
The Diamondbacks had three triples to match a team record and twice scored in the bottom half of an inning after San Diego scored in the top half to win for the second time in 10 games.
''We need to get all the wins we can get,'' Weeks said. ''For us to win like we did tonight is great.''
San Diego's Wil Myers had a run-scoring triple among his four hits and drove in a run after being named to his first NL All-Star team before the game. The Padres out-hit Arizona 12-10, but stranded seven runners and couldn't overcome Friedrich's shaky start.
''It's kind of what it's been like the last few times out,'' Padres manager Andy Green said. ''He has some crisp innings and then gets into trouble. He misses some pitches and they take advantage of that.''
Godley made one start and five relief appearances during his first stint with the Diamondbacks and was called up from Triple-A Reno to start against the Padres.
The right-hander caused himself some problems when he started the third inning by walking Friedrich. Myers drove him in with a run-scoring triple and later scored on Yangervis Solarte's run-scoring single that put the Padres up 2-0.
Godley ran into more trouble in the fifth, when Kemp and Alex Dickerson hit run-scoring doubles to tie the game at 4.
Godley allowed four runs and eight hits in five innings. He was sent back to Reno after the game and left-hander Zac Curtis was recalled.
''A lot of mis-hit balls off him,'' Hale said. ''His ball moves a lot. If he can get that with the location, down in the zone a little more, he's going to be something.''
Friedrich entered Tuesday's game 2-0 with a 1.17 ERA in 15 career appearances against Arizona.
The left-hander did not have the same effectiveness this time, allowing one more run (4) in the third inning than he had the previous 25 combined. Goldschmidt drove in the first with a run-scoring single and Weeks followed with his three-run homer to center.
''It was the worst pitch at the wrong time,'' said Friedrich, who gave up five runs, six hits and struck out five in five innings.
Jake Lamb entered the game as a pinch-hitter in the seventh inning and fell behind in the count. Players in Arizona's bench said he should take a protective swing with two strikes.
Hale knew better and Lamb proved him right, hitting a triple to the corner in right before scoring on Segura's RBI single.
''They said it when he got two strikes, just put it in play. I said `He's going to get extra bases, there's no doubt about it,''' Hale said. ''He's just a machine right now.''
That's for sure. Lamb has an extra-base hit in seven straight games, longest by an Arizona player since Goldschmidt did it in eight straight games from July 2-9, 2009. Lamb has seven triples to match the team record before the All-Star Break, previously set three times.
Padres: RHP Tyson Ross (shoulder) is expected to throw his final extended bullpen on Wednesday.
Diamondbacks: CF A.J. Pollock started some light throwing with a tennis ball this week, his first baseball-related activity since breaking his right elbow on April 2.
Padres: RHP Colin Rea has received 6.61 runs of support per game heading into Wednesday's series finale against Arizona.
Diamondbacks: RHP Shelby Miller is 1-1 with a 4.30 ERA in six career games against San Diego.