"Everybody was excited to get a big hit like that," Bumgarner said of Posey. "That put us back in the lead. That's what big-time players do, and he's a good one already."
Posey and Bumgarner became the first batterymates in major league history to hit grand slams in the same game.
"That's pretty cool," Bumgarner said. "This game is full of strange statistics. It seems like there is a first every day. It's crazy to get that many opportunities as a pitcher."
A double by Bumgarner helped set up Posey's slam in the fifth. Bumgarner homered the next inning -- he also hit a slam on April 11 against Colorado.
"All we could do was shake our heads," Posey said. "I was asking Rags (Dave Righetti) if any pitcher had ever hit two slams in the same season."
The last pitcher to launch two slams in a season was Tony Cloninger, who hit both in the same game for Atlanta on July 3, 1966, against the Giants at Candlestick Park.
"Everybody knows he's a good hitter," Gosewisch said. "I wanted to go first pitch fastball down and away, and it just ran back over the plate."
Bumgarner (10-7) threw 6⅓ innings to end a personal three-game losing streak. He gave up four runs and 10 hits, striking out five.
Vidal Nuno (0-1) allowed four runs and six hits in five innings during his second start with Arizona.
The Giants finished the first half by winning five of nine. That followed a stretch of 18 losses in 23 games that cost them their lead in the NL West.
"The challenge for us is to look at the overall record," Posey said. "We're still in a good spot. We have to go forward."
Bumgarner escaped a perilous sixth because of some fancy defensive plays, including his own.
Right fielder Hunter Pence, who also threw out a runner at third in the first inning, tracked down Goldschmidt's drive one step before slamming into the fence and third baseman Pablo Sandoval made a diving stop of Mark Trumbo's sharp grounder to end the inning.
Nuno breezed through the first four innings before running into trouble in the fifth. Bumgarner's one-out double started the rally. Pence was hit by a pitch and Sandoval, who had three hits, singled ahead of Posey, who homered into the left-field bleachers.
"I feel like we've been needing the big hit," Posey said. "I'm just trying to get a run on the board. Getting four across was great."
A double, an infield fielding error and a walk set up Bumgarner's slam in the sixth against Stites. Bumgarner earlier victimized Jorge De La Rosa of the Rockies.
"We had a good conversation about how we were going to attack Bumgarner," Stites said. "I just missed my spot. He's been swinging it well all year."
Goldschmidt went 0-for-4 and had his career best streak of safely reaching base end at 32 games. ... Giants 1B Brandon Belt was a late scratch due to back tightness. ... INF Marco Scutaro was a little sore according to Giants manager Bruce Bochy and was given the day off. ... Posey has three career grand slams, including the postseason. ... Arizona manager Kirk Gibson said he was going to spend part of the All-Star Break watching his son play in the Cape Cod League. ... Ross' homer gave him 501 RBIs for his career. . The Giants announced their rotation coming out of the All-Star Break, with Bumgarner opening Friday at the Miami Marlins, followed by RHP Tim Hudson, RHP Tim Lincecum, RHP Ryan Vogelsong and RHP Matt Cain.
St. Louis Cardinals not picking up 2021 option on Kolten Wong
St. Louis declined Kolten Wong's $12.5 million option for 2021, making the longtime Cardinals second baseman a free agent.The Cardinals will pay Wong a $1 million buyout.
Colorado Rockies opt for $6 million buyout to Daniel Murphy
Colorado won't pick up the $12 million option on Daniel Murphy and will instead pay a $6 million buyout to the infielder who failed to flourish in his two years with the Rockies.
New York Mets decline options on Wilson Ramos, Robinson Chirinos, Todd Frazier
Mets catchers Wilson Ramos and Robinson Chirinos, and infielder Todd Frazier became free agents after the team declined to pick up team options in their contracts.
Washington Nationals decline 2021 options for Adam Eaton, Anibal Sanchez, Howie Kendrick
Adam Eaton, Anibal Sanchez, Howie Kendrick and Eric Thames are all free agents after the Nationals declined their 2021 options Wednesday.
MLB: Dodgers' Justin Turner disregarded coronavirus protocols
Major League Baseball said that Dodgers infielder Justin Turner flouted coronavirus protocols when he returned to the field after receiving a positive test.
Stephen A. understands Turner celebrating despite positive test
Stephen A. Smith says he would have not left the stadium and would have celebrated with the team with a mask from a distance if he had won his first World Series title like Justin Turner.