SAN FRANCISCO (AP) -- Wil Myers has had his way with the San Francisco Giants, and so has San Diego.
Oh how this rivalry has shifted -- not to mention Myers' power stroke at AT&T Park, where he has already cleared the fences five times this season.
He decided to embrace the ballpark's challenging conditions and typical chilly temperatures coming off the bay.
Myers homered for a career-best third straight game against San Francisco, Jabari Blash hit a go-ahead two-run double in the decisive fourth to back Dinelson Lamet, and the San Diego Padres beat the Giants 5-2 on Sunday.
"One of the big things is just actually wanting to come here to play. Last year I kind of dreaded coming here because it's a pitcher's ballpark and they have great pitchers," Myers said. "One thing I did this year was just got excited to play here. It's the mindset you got to have if you want to play well."
Lamet (4-4) struck out six pitching into the seventh in his 10th big league start and sixth on the road. He has allowed three or fewer earned runs in six of his outings.
San Diego hit three straight doubles in the fourth and four consecutive hits in all against lefty Ty Blach (6-6), who is yet to beat the Padres in three career starts.
Hector Sanchez added a run-scoring double in the fourth against his former and Cory Spangenberg hit an RBI single.
Myers clobbered a 3-2 pitch for his 20th home run with two outs in the first. The Giants tied it in the bottom half when Buster Posey's RBI single scored Denard Span, who doubled leading off the inning.
"A couple bad pitches they ambushed me early in the count," Blach said. "It's frustrating when you're rolling like that you can't make adjustments quick enough."
Lamet surrendered eight hits and two runs and walked a batter in 6 2/3 innings as the teams finished after nine innings following extra-inning games the previous two days. Brad Hand, San Diego's third reliever, finished with a 1-2-3 ninth for his third save.
Sanchez had a season-best three hits Friday and finished this series 5-for-12 with a home run and three RBIs. He is a career .464 hitter (13 for 28) with five homers and 14 RBIs against San Francisco, which hasn't won a series with the Padres since May 2016.
The Giants had won the past three starts by Blach, who allowed five runs on eight hits in seven innings, struck out seven and walked one after winning his last two decisions.
San Diego has won seven of the last nine meetings in the rivalry, currently featuring the two bottom teams in the NL West.
"We still have a ton of respect for who they are, the players on the field and what they've done," Padres manager Andy Green said. "We know at any point in time they could go reel off 10 or 12 and have a great run. We don't want that to start on us."
Padres: 2B Yangervis Solarte, a switch-hitter sidelined by a strained left oblique muscle, is set to begin swinging from the right side Monday. The left side hasn't been a problem. … RHP Craig Stammen is still two or three days away from pitching after he strained a hamstring, Green said. … OF Travis Jankowski's rehab will be extensive, with him staying with Triple-A El Paso through the month as he nurses a bruised bone in his right foot. … LF Jose Pirela got a break.
Giants: Closer Mark Melancon threw all of his pitches in a mound session as he works back from a second DL stint with a strained forearm. "Now it's a matter how he comes out of it," manager Bruce Bochy said. Melancon is likely to need another two or three weeks and the Giants have no target date for his return. The reliever could face hitters within a week. … RHP Johnny Cueto, who landed on the DL with blisters on three fingers, played light catch. … 2B Joe Panik had a day off.
Padres: LHP Clayton Richard (5-10, 5.35 ERA) faces the Mets owning a 4.17 ERA against New York over his initial seven starts.
Giants: RHP Matt Cain (3-8, 5.49) will try to avoid matching the longest losing streak of his career at eight games -- from July 28, 2015-May 10, 2016 -- when he pitches the series opener at home against Pittsburgh.