Buster Posey hit a walk-off home run off the first pitch he saw from Cincinnati reliever Robert Stephenson in the bottom of the 17th inning, lifting the San Francisco Giants to a 3-2 win over Cincinnati on Friday night in a game that lasted more than five hours and ended at 12:43 a.m. PT.