Bumgarner leads Giants to 8-1 win over Diamondbacks

PHOENIX -- Madison Bumgarner labored through a duel of aces, working through traffic in each of his five innings.

With a huge assist from third baseman Evan Longoria in the opening frame, Bumgarner scraped his way through to keep the San Francisco Giants within reach of the NL West lead.

Bumgarner worked out of one jam after another to outpitch Zack Greinke and lift the Giants to an 8-1 victory over the Arizona Diamondbacks on Thursday night.

"That's one of those games my back's kind of against the whole time I'm out there," Bumgarner said. "Had to work extra hard, but at the same time those kind of games are gratifying to keep your team in it."

Bumgarner didn't have his best stuff, but got the outs -- with some help -- when he needed them. Longoria made a diving stop with the bases loaded in the first inning and Bumgarner (4-4) limited the Diamondbacks to a run on seven hits while stranding nine runners.

"It saves you, a play like that, stops a rally," Giants manager Bruce Bochy said. "That ball gets through, they get momentum going."

Longoria also hit a solo homer off Greinke (12-6) and San Francisco broke open a close games five runs in the eighth inning. Austin Slater had two RBI and scored three times for the Giants, who have won four straight to stay within five games of the Los Angeles Dodgers in the NL West.

Greinke gave up two runs on four hits and struck five in six innings to lose for the first time in nine starts.

Arizona's David Peralta had four hits after missing the previous two games with right shoulder tightness.

"We hit the ball hard. I thought we were patient," Diamondbacks manager Torey Lovullo said. "We just couldn't get that big hit or have that big moment at the right time."

Greinke, NL pitcher of the month for July, went 7-0 with a 1.53 ERA and 53 strikeouts in eight starts since June 18.

The right-hander had been using his slow curveball effectively this season, but Longoria took advantage of one in the first inning, hooking a 69 mph pitch just inside the foul pole in left for a solo homer.

Bumgarner also helped himself with a run-scoring single in the fifth inning off Greinke.

"The stuff was good, but the command probably wasn't as good as the last however many starts," Greinke said.

ZIELGER RIDES THE CART

The Diamondbacks brought back an old tradition this season with a bullpen cart. One problem: None of the Diamondbacks wanted to use it.

Brad Ziegler changed that when he entered the game in the seventh inning, drawing cheers from the hometown fans. Only a handful of opposing players used the cart during games, including Ziegler as an opposing player with Miami before being traded back to Arizona.

"I appreciated the ovation the fans gave me," said Ziegler, who allowed four runs on three hits in an inning. "It is nice to feel welcome."

SUBSTITUTION MISTAKE

With Ziegler struggling and a left-hander at the plate, Lovullo went out to replace him in the eighth inning. He couldn't, thanks to a mistake by the umpire crew.

After Arizona pitching coach Mike Butcher made a trip to the mound, the Giants brought in pinch hitter Alen Hansen. Lovullo came out of the dugout to ask the umpires if he could then switch pitchers, but was told he couldn't.

"He was told that he could not, when actually there's a caveat rule that says when there's a trip to the pitcher and then the guy leaves the mound and the offensive team then substitutes, it is then permissible by rule to then go to the mound to remove the pitcher," crew chief Bill Welke said.

Hanson followed with a run-scoring single in San Francisco's five-run inning.

DIAMONDBACKS MOVES

Arizona optioned RHP Silvino Bracho to Triple-A Reno to make room for Ziegler's return.

TRAINER'S TABLE

Giants: INF Pablo Sandoval will have season-ending surgery for a right hamstring tear suffered while sliding at home plate against San Diego on Sunday.

Diamondbacks: 3B Jake Lamb opted to have season-ending surgery on his left shoulder to repair fraying of the rotator cuff. He was not in pain, but the damage limited his ability to swing a bat.

UP NEXT

Diamondbacks LHP Patrick Corbin is second in the NL with 166 strikeouts heading into Friday's game against the Giants. San Francisco will send RHP Chris Stratton to the mound after a season-ending injury to Johnny Cueto forced manager Bruce Bochy to juggle his rotation.

---

More AP baseball: https://apnews.com/MLBbaseball