ATLANTA -- Tom Glavine's homecoming was an afterthought by the time a routine fly ball finally ended a game that was anything but routine.
Xavier Nady hit two home runs -- including a three-run shot in the 12th inning -- and the Pittsburgh Pirates overcame a horrific ninth and another potential collapse for a 12-11 victory Monday night, which ruined Atlanta's home opener.
The Braves took advantage of four walks and a huge defensive blunder to erase the Pirates' 9-4 lead. But Nady, who led off the eighth with a home run, lined a 2-0 pitch from Blaine Boyer (0-1) into the right-field seats with two outs and two aboard in the 12th.
Franquelis Osoria (1-0) pitched three innings for his first major league victory. It was in doubt right to the end: Jeff Francoeur hit a home run, Matt Diaz had an RBI single and the Braves had the potential tying run on base when Corky Miller flied out to center, ending the 4-hour, 28-minute marathon.
"I'm glad for him to get his first win," Nady said. "But I'm sure that wasn't the way it was drawn up."
Glavine returned to Atlanta after five years with the New York Mets. He left after the fifth, having surrendered one earned run, and turned over a 4-2 lead to the bullpen. The relievers were downright awful, giving up 10 runs (nine earned) in seven innings.
Atlanta's defense wasn't better, making three costly errors.
Most of the crowd of 45,269 headed for home on a cool night when Pittsburgh went ahead with a four-run eighth off Manny Acosta. They missed quite a finish.
The Pirates had a five-run cushion with Atlanta down to its last three outs, but no lead is safe for a franchise that hasn't had a winning season since 1992.
Damaso Marte walked two, then closer Matt Capps walked two more, which brought home a run. Chipper Jones followed with a two-run single, making it 9-7, then it looked as though Pittsburgh would escape. Mark Teixeira popped out, slapping his helmet in disgust.
McCann, who hit a home run in the fourth, followed with a soft fly to left.
Not so fast.
"It was one of those things," McLouth said. "He thought I was going to get it, and I thought he was going to get it."
John Russell watched stoically from the Pirates dugout in his first game as a big league manager, perhaps wondering what he had gotten himself into. At the end, though, his record was 1-0.
Glavine was the big story at the start of the night, returning to the team where he spent the first 16 seasons of his 303-win career. He had long since showered and dressed by the time it was over.
"I was a little anxious in the first inning," Glavine said. "After that, I felt pretty comfortable."
The 42-year-old left-hander has clearly lost a bit of the stuff that carried him to five 20-win seasons and two NL Cy Young Awards during his first stint with the Braves. Working from behind to all but five of 22 hitters, Glavine surrendered seven hits, walked two and threw 97 pitches -- only 52 for strikes.
But at least it was better than his last outing with the Mets. Glavine was charged with seven runs and got only one out in the second-shortest start of his career, a loss to the Florida Marlins on the final day of the season to complete New York's historic collapse in the NL East race.
With the game tied at 4, the Pirates teed off on Acosta in the eighth. He gave up the home run to Nady after getting two quick strikes. McLouth lined another one over the right-field wall in nearly the same spot for a three-run homer, equaling his career best with four RBI on the night.
After beginning the season with a ninth-inning loss in the opener for Washington's new stadium, the Braves returned home on a night filled with nostalgia from those years when Atlanta always made the playoffs.
Longtime Braves catcher Javy Lopez, who retired after a failed comeback attempt in spring training, threw out the ceremonial first pitch. Then it was Glavine's turn to throw pitches that counted, cheered by the same fans who booed him lustily after a bitter contract dispute with Atlanta management led him to sign with the Mets.
Glavine was helped out by new Braves center fielder Mark Kotsay, who made a play reminiscent of the guy he replaced. Kotsay threw out Jack Wilson at home to end the fourth, making a good first impression on a town that watched Andruw Jones, a 10-time Gold Glove winner, do those sort of things for more than a decade before he signed with the Dodgers.
The Braves had more troubles than highlights on defense, however.
Kelly Johnson bobbled away an easy grounder in the second that should have been the third out, allowing an unearned run to score off Glavine. When the Braves had a chance to get out of a seventh-inning jam without the tying run scoring, Escobar one-hopped a throw to first that Teixeira couldn't scoop.
"We showed a lot of character," Glavine said. "If you're going to beat us, you've got to battle us to the last out. But there's no question that other parts of the game were pretty ugly. We need to shore that up."
- Johnson left in the fourth with an ailing right knee that bothered him most of the spring. The second baseman was day to day.
- Pittsburgh RHP Tyler Yates, acquired from Atlanta last week, pitched a scoreless inning against his former team.