‘‘That’s pretty cool,’’ Bumgarner said.
Bumgarner was done after yielding Alonso’s homer that cut San Francisco’s lead to 5-3.
A mix-and-match bullpen that has been so reliable since Wilson went down took over from there. Romo, the fifth reliever of the night after Javier Lopez recorded the first out of the ninth, closed it out to set off a ballpark frenzy.
Pablo Sandoval received a standing ovation when he made an amazing catch in foul territory in the fourth on a popup by Alonso. The burly third baseman fell over the railing of a party suite close to the field, backhanding the ball while grabbing onto the rail with his right hand.
Once back in the dugout, Sandoval received a hug and pat on the back from Bumgarner.
‘‘A deserving champion of winning our division,’’ Black said in congratulating the Giants. ‘‘They played well, especially the second half of the season. They've had a great second half.’’
Padres catcher Yasmani Grandal was a late scratch as a precaution, a day after he left the game in the seventh inning after taking a foul ball off his mask. Black wanted to see how Grandal did in pregame baseball activities before starting him.
NOTES: San Diego named Eric Stults (6-3) its starter for Sunday’s series finale. The Giants changed their starter after the clincher to RHP Yusmeiro Petit. ... San Francisco leads the season series 10-4 with four meetings remaining.