SAN DIEGO - Pinch-hitter Tommy Medica singled in the go-ahead run in the eighth inning and the San Diego Padres beat the Seattle Mariners 2-1 on Wednesday night in their first home game since Hall of Famer Tony Gwynn died of cancer Monday.

The light-hitting Padres honoured Gwynn before the game and then cobbled together just enough offence for their second win in 10 games.

Starters Felix Hernandez and Andrew Cashner pitched well but didn't get a decision. Hernandez struck out 10 and allowed only three singles in seven innings, with no walks. But he allowed the Padres to tie it at 1 on a wild pitch with two outs in the sixth.

Everth Cabrera started the winning rally by beating out an infield single on a chopper against Charlie Furbush (0-4). Cabrera was sacrificed over by Alexi Amarista and scored on Medica's liner to centre. James Jones throw home was late and off line.

It was the most runs the Padres have scored in four games. They had lost three straight, including two to the Mariners in Seattle.

Joaquin Benoit (3-0) pitched a perfect eighth. Huston Street worked the ninth for his 19th save in as many chances.

Before the game, Padres players and coaches gathered around a large No. 19 painted on the grass in right field, which was Gwynn's number and position. Mark Martinez, Gwynn's top assistant at San Diego State, threw the ceremonial first pitch to Padres manager Bud Black, who was Gwynn's teammate with the Aztecs for one season. The Padres held a 19-second moment of silence for Gwynn.

Hernandez allowed a leadoff single to Seth Smith in the first and then retired the next 15 batters until Amarista beat out an infield single. Cashner sacrificed Amarista, who took third on Smith's groundout and scored on Hernandez's wild pitch to tie the game at 1.

Cashner allowed one run and seven hits in seven innings, struck out two and walked two.

The Mariners took a 1-0 lead in the second when Mike Zunino was hit by a pitch, took third on Dustin Ackley's single and scored on Brad Miller's single.

NOTES: The Padres are wearing a patch with No. 19 inside a home plate logo on their jerseys, over the players' hearts. They're wearing a JC star patch to honour Hall of Fame broadcaster Jerry Coleman, who died Jan. 5 at 89. ... The Padres have scheduled a public tribute to Gwynn for June 26 at Petco Park starting at 7:19 p.m., symbolic because Gwynn made his Padres debut on July 19, 1982. ... Seattle DH Corey Hart (strained left hamstring) and OF Michael Saunders (right AC joint inflammation) are expected to come off the DL on Friday. ... Padres 2B Jedd Gyorko, who has plantar fasciitis in his left foot, is out of a boot and cast but apparently is a ways away from returning. "It's been better," Gyorko said of the injury. ... Padres 1B Yonder Alonso was out of the lineup with a sore right wrist and Black said he could be a DL candidate. ... The series concludes Thursday afternoon when Seattle RHP Erasmo Ramirez (1-4, 5.27) is scheduled to oppose RHP Jesse Hahn (1-1, 3.72).