SAN FRANCISCO — As the stragglers stumbled into the visitors' clubhouse, some New York Mets players hollered and high-fived teammates as they passed through the door.
This was just the kind of celebration that had escaped them before.
Eric Young Jr. scored on shortstop Brandon Crawford's fielding error with two outs in the 16th inning, and the Mets outlasted the San Francisco Giants 4-3 in a game that ended early Tuesday morning.
The Mets already had played three games of at least 15 innings this season — and lost each one.
"I've never heard of anything like this. It's unbelievable," manager Terry Collins said. "At least we're used to it."
Young singled with one out and stole second to start the final rally. After he advanced to third on Daniel Murphy's groundout, lefty Javier Lopez entered and intentionally walked David Wright.
Crawford couldn't handle pinch-hitter Anthony Recker's grounder, allowing Young to score and handing New York the victory. The game lasted 5 hours, 26 minutes.
"We've played in some long games and we haven't always come out on the winning side," Recker said. "As soon as the 10th inning started, we were like, 'Are we really going to do this again?'"
It was the longest game in time and innings the Giants had played since losing 1-0 to the Arizona Diamondbacks in 18 innings on May 9, 2001.
Marco Scutaro walked leading off the bottom of the 16th inning, and Buster Posey hit a one-out single for the first five-hit game of his career. But Bobby Parnell regrouped to strike out Pablo Sandoval and retire pinch-hitter Guillermo Quiroz on a grounder for his 16th save.
Posey went 5 for 8, including a two-run homer and two doubles. San Francisco has lost 12 of 14 and is a season-high eight games below .500.
The Giants went 1 for 15 with runners in scoring position and stranded 18 overall — 13 in the last six innings.
"That's as frustrating a game as we've had," manager Bruce Bochy said.
Tim Lincecum and Matt Harvey each threw seven innings of three-run ball before the bullpens shut down the opposition. Harvey said a blister on his right index finger has been bothering him his last two starts but he doesn't consider it an issue.
"I'm just glad we won," he said.
Josh Edgin (1-1) pitched two scoreless innings for the win. George Kontos (2-2) allowed the one unearned run in 2 2-3 otherwise solid innings.
It was the 18th major league game to go 14 innings or more this season, two shy of last year's total, according to STATS.
The Mets improved to 1-3 in games of at least 15 innings. The last team to play that many in one season was the 2004 Minnesota Twins, who went 2-2, according to STATS.
|Texas - WP: S. Tolleson||16||FINAL|
|Miami||2||Top 8th Inning|
|Los Angeles||2||Top 5th Inning|
|Calgary||1||2nd Prd 5:45|
|San Diego St||58|
|Sam Houston St||49||FINAL|
|Stephen F Austin||69|
|Idaho||35||2nd Half 15:22|
|New Mexico St||47|
|Cal Poly||25||2nd Half|
|Red Bull New York||1|
|Sporting Kansas City||1|
|Real Salt Lake||3||2nd Half|
|Fla Gulf Coast||64|
|Coll of Charleston||52||FINAL|
|Stephen F Austin||80|
|(22) Middle Tennessee||84|
|Fresno State||54||2nd Half 9:52|