Updated

Gaby Sanchez hit a tie-breaking three-run homer in the bottom of the eighth inning to give the Florida Marlins a 5-2 victory over the New York Mets on Tuesday night.

The loss officially eliminated the Mets from playing in the postseason.

Jose Veras (3-2) worked one inning and picked up the win despite losing the lead in the top of the eighth.

Clay Hensley pitched a scoreless ninth for his fourth save in seven chances.

Marlins rookie Adalberto Mendez allowed one run and scattered 10 hits over seven innings.

With two outs in the eighth, Mets manager Jerry Manuel brought in Elmer Dessens (3-2) to relieve Pedro Feliciano to face Hanley Ramirez, who lined a single to center as did Dan Uggla. Sanchez then drilled a 1-2 pitch over the left-field wall for his 19th homer.

The Marlins took a led 2-1 lead in the seventh thanks to a fielding error by third baseman David Wright. He made up for the error by hitting his 25th homer off Veras to tie the game.

Lucas Duda homered in the second to give the Mets a 1-0 lead, but an RBI groundout by Chad Tracy in the bottom half of the inning tied the game.

Mets starter Mike Peflrey allowed two runs — one earned — and five hits in seven innings. He struck out four.

Notes: Wright leads NL 3Bs with 20 errors. ... Mets SS Jose Reyes' triple in the third inning set a team record as he hit safely in 23 consecutive road games breaking Keith Hernandez's mark of 22 set in 1986-87. ... Marlins LF Logan Morrison extended his streak of reaching base safely to 40 games with a double in the third. It is the third-longest streak in the majors this season behind Mark Teixeira (42) and Joey Votto (41). ... Mets RHP Bobby Parnell has been ruled out for the season after an MRI revealed he has an inflamed right elbow.