Neil Walker homered with one out in the Pirates' first off Bartolo Colon, sending a drive into the Pittsburgh bullpen.

Colon wound up pitching seven innings, giving up five hits while striking out seven.

Yoenis Cespedes hit his 20th home run overall, and second since being traded to the Mets, for a tying drive in the sixth.

It was the Mets' 15th long ball in their past 19 games.

Making his second start joining the Pirates, J.A. Happ allowed seven hits in 51/3 innings.

Backup catcher Chris Stewart led off the Pittsburgh 10th with a single and was pulled for pinch-runner Starling Marte, out of the starting lineup because of a bruised left hand. Pinch-hitter Francisco Cervelli singled to left on a full count, sending the speedy Marte to third. Polanco lined Parnell's first pitch up the middle.

Juan Lagares led off the Mets 10th with a double, and a wild pitch set up Granderson's fly. Melancon struck out Cespedes and retired Juan Uribe on a grounder.

Notes: 3B David Wright (spinal stenosis) played in his third rehab game for Class A St. Lucie, getting two hits and going all nine innings in the field. ... 1B Lucas Duda (lumbar strain) took some swings in the indoor cage, fielded a limited number of grounders and participated in a full round of batting practice. He hasn't played in four games. "We'll just see how he's going to feel later and certainly hope that tomorrow might be a day that we can get him in there," manager Terry Collins said. ... Charlie Morton (7-4, 4.48 ERA) of the Pirates opposes N.Y.'s Jonathon Niese (7-9, 3.46) in Saturday's game.