W: J. Affeldt (1-1) L: C. Torres (2-3) S: S. Romo (19)
HR: NYM - D. Murphy (4) SF - B. Posey (8)
Recap:Buster Posey's two-run homer in the eighth inning helped the San Francisco Giants to a 4-2 win over the New York Mets on Friday.
Angel Pagan walked to begin the eighth and Posey crushed the second pitch he saw from Carlos Torres (2-3) into the seats in left-center that gave the Giants the lead.
Jeremy Affeldt (1-1) earned the win in relief of Matt Cain, who carried a no- hitter through five innings.
Cain made his return to the mound after a stint on the disabled list with a strained right hamstring and allowed two runs on three hits with three strikeouts in the no-decision.
Sergio Romo toed the slab in the ninth and picked up his 19th save of the season after a perfect frame.
Posey went 3-for-4 on the night and Brandon Crawford knocked in the other two runs for San Fran (40-21), which has won eight of its last 10 and became the first team in the major leagues to reach 40 wins.
Mets starter Jon Niese went toe-to-toe with Cain for most of the night, surrendering two runs on five hits with three punchouts before leaving it in the hands of his bullpen.
New York has dropped its last four games as it closes a 10-game road trip with a three-game set in the Bay Area.
San Francisco opened the scoring in the fifth when Brandon Hicks tripled to center with one out and scored on Crawford's sacrifice fly to left.
Ruben Tejada then opened the top of the sixth with an infield single to break up the no-hit bid from Cain, but New York couldn't muster anything from there.
The Mets did, however, break through in the seventh, as Matt den Dekker doubled to lead off the frame and Daniel Murphy chased him home with his fourth homer of the season to give the visitors a lead.
San Francisco answered in the home half of the seventh after a run-scoring hit from Crawford. Hicks walked, advanced to second on a wild pitch and scored when Crawford ripped a single into center that tied the game at 2-2.
Cain also missed time in late April after cutting his finger on a kitchen knife ... The Giants designated left-hander David Huff for assignment. In 16 relief appearances this season, Huff owns a 1-0 record with a 6.30 ERA ... Tejada had two of New York's four hits ... Hicks collected two hits in the win.
|Matt den Dekker CF||4||1||1||0||1||0||0||0||0||.182|
|Daniel Murphy 2B||4||1||1||2||0||0||1||0||1||.296|
|David Wright 3B||3||0||0||0||0||0||0||0||0||.281|
|Curtis Granderson RF||2||0||0||0||0||0||0||1||0||.215|
|Andrew Brown LF||3||0||0||0||0||0||0||0||0||.182|
|Carlos Torres P||0||0||0||0||0||0||0||0||0||.000|
|Lucas Duda 1B||3||0||0||0||0||0||0||0||1||.238|
|Ruben Tejada SS||3||0||2||0||0||0||0||0||1||.239|
|Travis d`Arnaud C||3||0||0||0||0||0||0||0||0||.180|
|Jon Niese P||2||0||0||0||0||0||0||0||1||.053|
|Chris Young LF||1||0||0||0||0||0||0||0||0||.196|
|Angel Pagan CF||3||1||0||0||0||0||0||1||1||.316|
|Hunter Pence RF||4||0||0||0||0||0||0||0||0||.285|
|Buster Posey C||4||1||3||2||0||0||1||0||0||.272|
|Pablo Sandoval 3B||4||0||0||0||0||0||0||0||0||.247|
|Michael Morse 1B||4||0||1||0||0||0||0||0||0||.285|
|Juan Perez LF||4||0||1||0||1||0||0||0||1||.138|
|Brandon Hicks 2B||3||2||2||0||1||1||0||1||1||.191|
|Brandon Crawford SS||2||0||1||2||0||0||0||0||0||.238|
|Matt Cain P||1||0||0||0||0||0||0||0||1||.235|
|Joaquin Arias PH||1||0||0||0||0||0||0||0||0||.167|
|Jeremy Affeldt P||0||0||0||0||0||0||0||0||0||.000|
|Sergio Romo P||0||0||0||0||0||0||0||0||0||.000|
LOB_NY Mets 0, San Francisco 6. 2B_M.den Dekker, J.Perez, B.Hicks. 3B_B.Hicks. HR_D.Murphy (4) off M.Cain, B.Posey (8) off C.Torres. SF_B.Crawford. GIDP_A.Brown, T.d'Arnaud 2, M.Morse. DP_NY Mets 1 (R.Tejada and L.Duda); San Francisco 3 (B.Hicks and M.Morse), (B.Hicks, B.Crawford and M.Morse), (P.Sandoval, B.Hicks and M.Morse).
|Carlos Torres (L 2-3)||1.0||3||2||2||1||1||1||21-12||2.72|
|Jeremy Affeldt (W 1-1)||1.0||1||0||0||0||1||0||9-7||1.40|
|Sergio Romo (S 19)||1.0||0||0||0||0||0||0||10-8||3.24|
HBP_by J.Niese (M.Cain).
Umpires_Home,Rob Drake; First, Joe West; Second, Pat Hoberg; Third, Marty Foster.