SAN DIEGO -- The Arizona Diamondbacks are making themselves right at home at Petco Park.
Goldschmidt drove the first pitch he saw from left-hander Joey Lucchesi out to left-center field for his 28th of the season. That got Arizona going en route to its sixth straight win over San Diego at Petco Park.
"I thought it was a really good job by our guys to attack the starting pitcher," Diamondbacks manager Torey Lovullo said. "Goldie with the big two-run homerun got us that lead, and we kept adding on."
Souza doubled into the right-center gap with the bases loaded to bring home three runs in the sixth and extend the lead to 8-3.
Robbie Ray started for Arizona and walked his first two batters. While Ray held San Diego to two hits, both by Eric Hosmer, he allowed three runs over 4 2/3 innings. Ray walked five and struck out three.
"It was all self-inflicted," Ray said. "I walked too many guys and they ended up scoring. In crucial situations like that, I'm trying to get a call. It's tough. They got two hits tonight, but it was on me."
Hosmer homered in the fifth on a ball that just cleared the left field fence beyond Jon Jay's glove. Arizona challenged the call as it appeared a fan interfered with Jay while spilling a beer, but the call was upheld after replay review.
"I thought I had a beat on it, and I thought he moved my hand when I was right there," Jay said. "I got a little beer on my side -- I didn't get any in my mouth."
Manuel Margot hit a ball to nearly the same spot in the eighth and Jay made another leaping attempt, but a fan caught the ball above Jay's glove for a solo homer that cut the lead to 9-4.
"You look at command, their guy walked five guys, our guy walked three guys," Padres manager Andy Green said. "Their guy skated by with no more command today and got off the hook. We took our walks early. They made us pay."
Lucchesi (6-7) allowed five runs and nine hits over four innings. He struck out six and walked three.
"I think the biggest mistake I had was leaving all my pitches over the plate, and they took advantage of it," Lucchesi said. "I wasn't as sharp. I've got to do better than that."
San Diego, which has the worst record in the National League at 48-77, has dropped five straight.
YOU'RE OUTTA HERE
Diamondbacks shortstop Nick Ahmed was ejected in the third by home plate umpire James Hoye after striking out looking. Daniel Descalsco replaced Ahmed in the lineup. It was Ahmed's second career ejection.
Padres: LHP Eric Lauer made a rehab start at Class A Lake Elsinore on Friday night. Lauer has been sidelined since July 31 with a left forearm strain.
Diamondbacks: RHP Zack Godley (13-6, 4.20) takes the mound in the third game of the series. Godley is 4-0 in his last eight starts.
Padres: LHP Clayton Richard gets the call and looks to continue a stretch of pitching five innings or more in his last four starts.
More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
Marlins LHP Dillon Peters traded to Angels for minor league pitcher
Marlins left-hander Dillon Peters has been traded to the Angels for minor league right-handed reliever Tyler Stevens.
Reds keep closer Raisel Iglesias with 3-year contract
The Reds and closer Raisel Iglesias have agreed to a three-year contract.
Former NASA engineer Sig Mejdal leaves Astros for Orioles
New Baltimore Orioles general manager Mike Elias called upon a familiar face to help rebuild the club, hiring former NASA engineer Sig Mejdal from the Houston Astros to be assistant general manager for analytics.
Miami Marlins must deal J.T. Realmuto before it's too late
The Washington Nationals just signed catcher Kurt Suzuki -- but they wanted J.T. Realmuto. Miami needs to make a move before there are no more suitors left.
Manny Machado hopes to address 'Johnny Hustle' comment with interested teams
Manny Machado addressed his controversial "Johnny Hustle" postseason comment in an interview with MLB.com, saying that he understands how it "came across, and it's something I take responsibility for."
The top offseason priority for all 30 MLB teams
Your favorite team probably isn't going to get Bryce Harper or Manny Machado. But another move -- maybe for a top pitcher -- could make all the difference this winter.