Rougned Odor hit a tying two-run homer in the ninth inning, Robinson Chirinos drew a bases-loaded walk in the 10th and the Texas Rangers rallied from six runs down to beat San Francisco 7-6 on Friday night.
The Rangers trailed 6-4 and were down to their last strike when Shin-Soo Choo reached on second baseman Panik's fielding error. Odor homered off closer Will Smith in the next at-bat, sending a shot over the right field wall and into McCovey Cove.
Odor's 16th homer was his first splash hit and the second in Rangers history. Mitch Moreland had the other on June 9, 2012.
"(Dyson) lost his command there, but it was lost earlier," Giants manager Bruce Bochy said. "We had the bases-loaded with one out in the eighth and couldn't put the ball in play. Those things come back to hurt you. It's a tough game to lose."
Cory Gearrin (1-0) pitched out of that eighth as part of two scoreless relief innings. He was a Giant when he collected his last win on July 1 against Arizona.
"Huge strikeout against Belt," Rangers manager Jeff Banister said. "I think that was probably one of the biggest keys in the game."
Gearrin came over along with outfielder Austin Jackson in a trade with the Giants on July 8.
"I felt good," Gearrin said. "I've pitched in this stadium many times, so it wasn't new to me being out there and being there in a situation with the bases loaded, it was fun. Those are the kind of games you want to be in."
Giants starter Derrick Rodriguez had another solid outing. The 26-year-old left-hander and son of Hall of Famer Ivan Rodriguez struck out four and gave up two runs, three hits and three walks.
Jose Leclerc pitched a scoreless 10th inning for his seventh save.
The Rangers trailed 6-0 going into the sixth, when Choo had a two-run single.
Joey Gallo came up lame leaving the batter's box after his broken bat single off reliever Mark Melancon scored Nomar Mazara with two outs in the eighth that made it 6-4. Gallo left the game for pinch-runner Carlos Tocci.
He rolled his ankle and is day-to-day, Banister said.
Gallo hit his 34th home run leading off the seventh on Giants reliever Reyes Moronta's first pitch.
Pudge Rodriguez was on hand to watch his son pitch, but he apparently didn't come ready to contribute. A popup foul ball came right to Rodriguez behind home plate, but the 13-time Gold Glove Award winner let it fall through his hands. Derrick Rodriguez laughed when he realized pops had let one get away.
Giants: RHP Jeff Samardzija (right shoulder tightness), who has been on the DL since July 15, experienced soreness in his shoulder pitching on a rehab assignment game with Double-A Richmond on Wednesday, manager Bruce Bochy said. The 33-year-old was scheduled to meet with team doctors Friday evening. "A little concerned to be honest, he's got some soreness," Bochy said. "He's not real close." . RHP Casey Kelly was optioned to Triple-A Sacramento after Thursday night's game. The Giants activated Rodriguez in a corresponding move.
LHP Martin Perez (0-2, 6.93 ERA) will pitch for Texas on Saturday. The 27-year-old is winless in eight starts going back to April 29. Giants rookie LHP Andrew Suarez (4-9, 4.68) is 0-3 with a 7.71 ERA through four starts in August. The 25-year-old is 0-2 with a 7.36 ERA in three interleague starts this season.
More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
Baseball Tonight Minute: Where will Harper & Keuchel land?
Buster Olney breaks down What Dallas Keuchel is looking for in a deal, who Bryce Harper met with this week and the Red Sox's new batting order.
Greg Bird says he's fully healthy as he, Luke Voit compete at first base
As pitchers and catchers begin reporting to the Yankees' spring-training complex this week, an upbeat and self-proclaimed healthier Greg Bird believes he'll soon get back to being the promising player he once was.
Cubs to 'enhance' domestic violence training ahead of Addison Russell's return
The Chicago Cubs are enhancing their domestic violence training ahead of shortstop Addison Russell's return from suspension later this season.
Reliever Sergio Romo, Marlins agree on one-year deal
The Miami Marlins and reliever Sergio Romo have agreed on a one-year deal, a league source tells ESPN.
Could this be the last year for Joe Maddon with the Cubs?
Pedro Gomez looks ahead to the start of the Cubs' season and what they'll need to do to reach the postseason for the fifth straight year.
Yankees' pitcher Masahiro Tanaka no fan of DH, wants to hit and run at National League ballparks
Despite injuring himself last season running the bases, Yankees pitcher Masahiro Tanaka hopes use of the designated hitter does not spread to the National League.