(AP) Yusmeiro Petit almost got the perfect revenge against his former team.
Petit lost his bid for a perfect game on Eric Chavez's two-out single in the ninth, and then recovered to retire the final batter in the San Francisco Giants' 3-0 victory over the Arizona Diamondbacks on Friday night.
Petit (3-0) struck out Chris Owings to begin the ninth, and Gerardo Parra followed with a routine grounder to second. Diamondbacks manager Kirk Gibson then sent Chavez to the plate to hit for pitcher Patrick Corbin, and the crowd of 41,190 roared in anticipation.
Petit tried a 2-2 breaking ball that Chavez almost chased. The veteran third baseman lined the next pitch to right, and Petit crouched as the ball left the bat. It landed just in front of Hunter Pence, and Petit put both hands over his head after the hit fell in.
Pence made a terrific catch on a similar play to help preserve a no-hitter by Tim Lincecum in San Diego on July 13. Instead, Petit became the second pitcher this season to lose a perfect game with two outs in the ninth, joining Texas ace Yu Darvish, who surrendered a single to Marwin Gonzalez at Houston on April 2.
The crowd of 41,190 fans responded with a standing ovation for Petit, who struck out seven in his 95-pitch gem. A.J. Pollock grounded out to third to finish Petit's first career complete game.
Before the ninth, the closest Arizona came to a hit was Corbin's sinking line drive to left that forced Juan Perez to make a shoestring catch for the final out of the sixth. He got through the eighth in 16 pitches, including an eight-pitch at-bat against Miguel Montero.
"I'm just so happy to be here, I realized what was going on when Juan Perez made that catch in the sixth inning," Petit said through an interpreter. "From then on, I just tried to concentrate on every pitch."
Pence had three hits, including a home run, and scored all three runs. Brett Pill and Hector Sanchez also drove in runs.
Corbin (13-6) tossed eight strong innings, giving up eight hits. He walked one and struck out five.
Petit broke into the majors in 2006 with the Marlins, and then spent the next three years with Arizona. He was waived after the 2009 season and eventually landed in San Francisco. But he did not make another major league appearance until last year.
Now, with the World Series champions finishing out a disappointing season, Petit is making the most of a chance to audition for next year. He has won each of his last three starts.
Petit needed 65 pitches to get through seven innings. The Venezuelan righty went to a three-ball count twice and did not throw more than five pitches to any one batter through seven.
Pence singled and scored on an error by shortstop Owings in the second. He doubled and scored on Hector Sanchez's base hit in the fourth. Pence then hit a drive to left in the eighth for San Francisco's first homer at home since Aug. 21.
Sanchez went 3 for 3 and also was behind the plate for Petit's 40th career start.
"We had a good plan," Petit said. "We had good communication through the whole game."
NOTES: The Giants announced Kensuke Tanake cleared waivers and is a free agent. ... Giants LHP Dan Runzler, who also cleared waivers, was outrighted to Triple-A Fresno. ... Giants C Buster Posey missed his third straight game with a swollen right ring finger. He's expected to miss at least two more games. ... RHP Matt Cain (8-8, 4.43 ERA) will start Saturday night's game for the Giants. He's 14-6 in 31 starts against the Diamondbacks. ... RHP Brandon McCarthy (3-9, 4.94) gets the start Saturday for the Diamondbacks. He's coming off his eighth career complete game. ... The gametime temperature of 72 degrees made it the hottest night game of the season in San Francisco.