Posey homers in Giants' 7-1 win over Padres

Buster Posey hit a three-run homer, Ryan Vogelsong won for the first time in nearly a month and the San Francisco Giants opened their longest homestand of the season with a 7-1 victory over the San Diego Padres.

Ryan Theriot and Melky Cabrera had three hits apiece for the Giants, who benefited from an overturned call by the umpires. San Francisco improved to 8-2 since the All-Star break.

Vogelsong allowed one run and four hits over seven innings. The right-hander walked three and struck out six while lowering his ERA to 2.26.

Yasmani Grandal had two hits for San Diego, which has lost five of seven games to San Francisco this season.