Thairo Estrada doubled home Matt Chapman for the winning run with one out in the ninth inning, and the San Francisco Giants gave new manager Bob Melvin a win in their home opener against his former franchise by beating the San Diego Padres 3-2 before a sellout crowd of 40,645 on Friday.

Standing on second base, Estrada threw his arms into the air and pumped his arm when Chapman slid safely into home and beat the throw. It was Estrada’s second career game-winning RBI and first since Aug. 14, 2022, against the Pirates.

Enyel De Los Santos (0-1) replaced Wandy Peralta and plunked Chapman. Estrada then hit an 0-1 fastball into left-center.

Camilo Doval (1-0) worked out of a jam for the win. He allowed a one-out single in the ninth to Jake Cronenworth, who advanced on a passed ball before Manny Machado walked. But Doval escaped by striking out Ha-Seong Kim and Jurickson Profar.

Fernando Tatis Jr. hit a go-ahead single in the third inning but Chapman evened the game at 2-all with an RBI groundout in the sixth.

Melvin was welcomed home by the large crowd after departing the Padres last October. One of the assistants on his staff, Alyssa Nakken, coached her first regular-season game since becoming a mother in January.

A’s reflect on start of the long goodbye

The Oakland Athletics no longer have to wonder where they’ll play the next few seasons. That won’t make the long goodbye any easier.

With Thursday’s announcement that this will be the team’s last year in Oakland with the next three in Sacramento before the eventual relocation to Las Vegas, the A’s reacted with a mixture of sadness and relief.

“At least as a player, you know where you’re headed,” outfielder Seth Brown said before Friday’s game in Detroit. “There’s obviously a lot of moving parts, a lot of stuff we’re not privy to, so it’s just been kind of a waiting game on our end. Where are we going to go? Where are we going to be? So I think just having that knowledge; at least we know where we’re going to be playing next year.”

Vivek Ranadivé, who owns the Triple-A Sacramento River Cats, and Athletics owner John Fisher announced that the A’s will temporarily relocate to West Sacramento’s Sutter Health Park for at least three seasons. The A’s are moving to Las Vegas after a new ballpark is constructed. The River Cats, who are affiliated with the San Francisco Giants, will continue to play at the same facility.

“There’s direction now, which we’ve talked a lot about,” Oakland A’s manager Mark Kotsay said. “We’ve got time to kind of reflect on what this really means from an organizational standpoint, the history that we’ve had in Oakland, with this being now the final season. There’s a lot of emotion that goes behind this.

It will not only cause some upheaval for the players and staff but also members of the organization that work behind the scenes.

“At the end of the day, we know where we’re going to be for the next three seasons ... and that in itself gives a little bit of stability,” Kotsay said.

Soto struggling in Yankee pinstripes

The New York Yankees lost their home opener on Friday, 3-0, to the Toronto Blue Jays, and the team’s newest addition, Juan Soto, has hit a rough patch.

Soto went 0 for 4 with a pair of strikeouts in his pinstripes debut, slamming his bat and helmet after making the final out of the eighth.

He bowed to fans in right field in the top of the first and was greeted with a standing ovation when he came to the plate in the bottom half.

Soto is in a 1-for-16 slide after a 9-for-17 start.

“Just frustration that comes out,” said Soto, acquired in the offseason from the San Diego Padres. “You want to do so (many) things for this fan base and get your team going, and you have the chance to do it and couldn’t get it done. It really gets you mad. And at the end of the day, that’s my fault, shouldn’t do that, but things happen.”