SAN FRANCISCO — 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.

Unlimited Digital Access. $1 for 4 weeks.

The 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.


• Suspended Milwaukee Brewers slugger Ryan Braun is personally calling fans and offering an apology for using performance-enhancing drugs. “It was his idea,” said Rick Schlesinger, the Brewers’ chief operating officer. The Brewers turned over a list of several dozen random names.

• Minnesota Twins catcher Joe Mauer has not cleared his concussion symptoms yet, missing from the lineup for the 16th straight game.

• Cubs pitcher Scott Baker, coming off elbow surgery, will make his season debut Sunday against the Brewers.

• Mets left-hander Scott Rice, who leads the majors with 73 appearances, will have sports hernia surgery.