SAN FRANCISCO (AP) - 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.
Posey's third home run in his last 11 games highlighted another stellar night from the Giants' All-Star catcher.
Since going hitless against Pittsburgh on July 7, Posey has been San Francisco's best hitter. He went 3 for 4 against San Diego and is batting .512 over his last 11 games.
That helped the Giants to their fifth consecutive win at AT&T and kept them 1 1/2 games ahead of the Dodgers in the NL West.
San Francisco scored four times off San Diego starter Clayton Richard in the first inning when they also got some help from the umpiring crew.
Posey's RBI single opened the scoring and Angel Pagan followed with a bases loaded walk. Posey later scored on Joaquin Arias' fielder's choice to make it 3-0.
Brandon Crawford then hit a sinking line drive that Padres left fielder Mark Kotsay caught for the third out. Television replays appeared to show Kotsay trapping the ball, and Giants manager Bruce Bochy came out to dispute the call as both teams left the field.
After a brief meeting, the umpires changed the decision and ruled it a hit. That forced the Padres back out onto the field, and Pablo Sandoval, who was on third, was awarded home plate to push the Giants lead to 4-0.
Crawford was also involved in another disputed call in the sixth when he hit a one-out double but was called out after the Padres argued that Crawford missed first base and appealed.
Two innings later, Crawford was ejected after grounding out to first base when he appeared to say something to first base umpire Jordan Baker.
It was about the only mistake the Giants made.
Theriot and Cabrera hit consecutive one-out singles in the fifth before Posey's three-run home run off Richard made it 7-1.
Vogelsong (8-4) didn't need much offensive support as it turned out.
The Giants right-hander gave up Yonder Alonso's sacrifice fly in the fourth after allowing back-to-back hits to open the inning, but was otherwise stellar while winning for the first time since June 26.
Cabrera helped when he fell into the stands while chasing down Kotsay's foul ball leading off the seventh. Cabrera jumped just before the short wall and made the catch before being helped to his feet by nearby fans.
Richard (7-11) gave up seven runs over five innings in his shortest outing of the season for the Padres. Three of his losses have been against the Giants.
San Diego had a rough night all around.
The Padres lost to the Giants for the 16th time in the past 21 games between the two clubs and lost center fielder Alexi Amarista to a left thumb injury.
Amarista was hurt while sliding into the bag after stealing second base in the fifth. He stayed in the game and completed the inning before being replaced by Jesus Guzman.
NOTES: Sandoval went 1 for 3 with a walk in his first start at first base this season. Bochy made the move because slumping Brandon Belt is mired in a 2-for-32 funk. ... San Diego OF Carlos Quentin was rested a day after agreeing to a $27 million, three-year contract. ... Padres RHP Tim Stauffer (strained right elbow) threw his first bullpen session since going on the DL on May 15 and is scheduled for a second session Wednesday. If he makes it through without a setback, Stauffer will head to Peoria to continue his rehab in the minors. ... Padres OF Cameron Maybin remains day to day because of a sore right wrist but the team is optimistic about his progress. ... Giants OF-1B Aubrey Huff is sidelined with tendonitis in his injured right knee and is "not real close" to returning, Bochy said. ... San Diego RHP Edinson Volquez takes a 6-7 record into Tuesday's game against San Francisco LHP Madison Bumgarner (11-6).