Rivera tied the game with a home run in the ninth inning, then won it with an RBI single in the 10th as San Diego beat the Milwaukee Brewers 3-2 Wednesday night. Jake Goebbert's RBI single in the bottom of the inning pulled the Padres to 2-1. Right after Rivera's tying homer, Brewers manager Ron Roenicke was tossed out of the game by plate umpire Mark Ripperger for arguing about the first two pitches that were called balls. Milwaukee's Yovani Gallardo gave up three hits and three walks in six scoreless innings. [...] Carlos Gomez struck out for the third time and Jonathan Lucroy flied out to the warning track to end the inning. Padres: 1B Yonder Alonso will undergo season-ending surgery on Friday to repair a torn tendon in his right forearm.