Cueto struggles, but Sandoval's HR helps Giants top Padres

Sunday: They'll play their season finale at 3:07 p.m. Johnny Cueto (8-8, 4.43) is scheduled to start for Giants.

"Of course I would like to stay here and finish my career in San Francisco", Cueto said. Szczur is 1 for 4 with one RBI against him.

The bottom of the ninth offered something not so familiar - a reminder of the good ol' days as Pablo Sandoval knocked a walk-off homer over the right field wall to end a dismal season. Cory Spangenberg will move to third base while Christian Villanueva sits on the Padres' bench in the last game of the regular season.

After having announced his retirement earlier in the week, Cain shut out the Padres on two hits over five innings in his first outing since August 29.

Cain, who announced his retirement on Wednesday, left Saturday's game with a 1-0 lead over the Padres after five innings of two-hit ball. Jhoulys Chacin went six innings, giving up one run on five hits, walking a pair and striking out six, not factoring in the decision. Instead, the Giants were treated to a vintage performance from their former ace.

The Padres out-hit the Giants 8-6.

The Giants lost 23 more games than they did last season in their worst year since 1985, when they lost 100 games. Cain will turn 33 Sunday. His 13-year run with the Giants has been buoyed by flashes of brilliance, from his contributions during three championship runs to the ideal game he executed against the Astros in 2012, and no matter his stat line on Saturday, it was bound to be an emotional day. He wouldn't take the win - Wil Myers' game-tying home run took care of that in the sixth - but there was no more fitting footnote to an incredible career.