NEW YORK (AP) -- David Wright's record-breaking hit was a little dribbler toward third base, ugly enough to prompt plenty of ribbing from his New York Mets teammates.
''I don't think he really wanted that particular hit to be the one played over and over again,'' pitcher Jeremy Hefner said, drawing laughs.
Wright set the franchise record for hits and Hefner bounced back from a horrendous start in a 6-0 victory over Pittsburgh on Wednesday night that eliminated the Pirates from playoff contention.
Ruben Tejada tied a career high with four hits, including two RBI singles, and Scott Hairston doubled home a run as the Mets took advantage of some shoddy Pittsburgh defense to win for the fifth time in six games.
''Obviously, it's humbling,'' Wright said. ''A little more exciting - we won today.''
Jeff Locke (0-3) was chased in the fourth inning and is still searching for his first major league win after nine starts. The loss left Pittsburgh 7 1/2 games behind St. Louis, with seven to play, in the race for the second NL wild card.
Tied for the NL Central lead a week after the All-Star game, the Pirates have faded quickly in the second half for the second consecutive year. They have dropped 19 of 25 and must go 5-2 the rest of the way to avoid a 20th straight losing season.
Earlier on Wednesday, club president Frank Coonelly said manager Clint Hurdle and GM Neal Huntington will be back next season.
''Support's always good, absolutely,'' Hurdle said.
Wright reached on an infield single during a four-run third for his 1,419th hit, snapping a tie with Ed Kranepool atop the team's career list.
''I got a chance to show off my blazing speed,'' Wright said. ''Ten years from now, when I'm telling my kids, it's going to be a line drive. It's going to be a little different. But I'll take it. A hit's a hit, and just really excited I could do it at home. The fans were great to me.''
The slugger pulled into second base thanks to a throwing error on the play and his achievement was shown on the Citi Field scoreboard. The Mets played a few of Wright's highlights on the big video board, including his first major league hit. He received a warm ovation and quickly waved twice to the skimpy crowd of 22,890 before flashing a wide smile toward the New York dugout.
After the game, Wright's television interview on the field was played throughout the ballpark so the crowd could hear it.
''To be able to do it here at home was extra special,'' he said.
A six-time All-Star, Wright accomplished the feat in 1,256 games from 2004-12. Kranepool played in 1,853 games from 1962-79.
''It's remarkable,'' said Mets manager Terry Collins, who had Wright autograph a ball for him. ''It's a testament to his work ethic.''
Kranepool and Wright posed for pictures together during batting practice.
''Eddie came and saw me before the game, wished me luck and just kind of reiterated the fact he's happy for me and excited for me, and that meant a lot to me,'' Wright said.
Mets fans get another chance to possibly enjoy a nice moment when knuckleballer R.A. Dickey tries for his 20th win Thursday afternoon against Pittsburgh in New York's home finale.
Hefner (3-7) faced seven batters without recording an out in his previous start, a 16-1 loss to Philadelphia last Thursday. This time, he was on top of his game.
The rookie right-hander allowed only three harmless singles, two to former New York City prep star Pedro Alvarez, over seven outstanding innings. Hefner matched a career high with seven strikeouts and walked just one. He also dropped down two sacrifice bunts that led to runs.
''Everybody in this room was here for his last start, saw his emotions, and saw that he was upset. He had something to prove tonight - that he can pitch here,'' Collins said. ''I believe he showed everybody he belongs here. I was very, very happy for him.''
Jeurys Familia finished up with two hitless innings.
In addition to his record-breaking hit, Wright lined a clean single to center in the fourth. Daniel Murphy and Kelly Shoppach each had an RBI single. Andres Torres had three of New York's 14 hits and scored twice.
Pirates star Andrew McCutchen, chasing the NL batting title, went 0 for 4. But he was happy to hear that Hurdle and Huntington will be back next season.
''Yeah, I suppose that's nice,'' McCutchen said. ''Glad they're coming back. Don't have to worry about anybody going anywhere. So, I guess that's always a plus.''
NOTES: Dickey's start was moved up a day so he could pitch at home. The last 20-game winner for the Mets was Frank Viola in 1990. ''Obviously, there's something that looks pretty about that number,'' said Dickey, looking to improve his Cy Young Award credentials. ... Collins said there is probably a 70 percent chance that closer Frank Francisco (elbow tendinitis) is done for the season. Francisco hasn't pitched since Sept. 16. ... LHP Robert Carson had an MRI that showed a triceps tendon strain. He is day to day. ''A huge sigh of relief for me and for him,'' Collins said. ... Wright also set franchise records for RBIs, runs and walks this season. The only other active players to lead their current club in career hits are Derek Jeter (Yankees), Todd Helton (Rockies) and Michael Young (Rangers). ... Pirates 2B Neil Walker (lower back) was out of the lineup again and could be shut down for the rest of the season, Hurdle said. ... Rookie LF Starling Marte showed off his powerful arm, throwing out Murphy at the plate by a wide margin.