SAN FRANCISCO—Pinch-hitter Patrick Bailey singled home the winning run with one out in the ninth inning, and the San Francisco Giants overcame a two-run deficit to beat the Texas Rangers 3–2 on Saturday.
Willy Adames hit a two-run single in the fifth, ending Tyler Mahler’s career-best 20-inning scoreless streak.
With the score 2–2, Heliot Ramos singled off Jacob Webb (2–1) starting the ninth, LaMonte Wade Jr. walked and Christian Koss sacrificed. The switch-hitting Bailey batted for Sam Huff, left-hander Jacob Lentz relieved and Bailey, who entered with a .159 average, slapped a first-pitch changeup to the opposite field in short right as Ramos trotted home.
Ryan Walker (1–1) escaped a two-on, no-outs jam in the ninth. Kyle Higashioka popped up a bunt attempt caught by Huff, the catcher, in foul territory and then Walker struck out Josh Smith and pinch-hitter Joc Pederson.
Robbie Ray struck out eight in seven innings, allowing five hits and retiring 14 of his final 15 batters.