MILWAUKEE (AP) - Inning after inning, Milwaukee had San Francisco starter Matt Cain in trouble. Time after time, the slumping Brewers let the Giants' right-hander off the hook.
Buster Posey homered off the Miller Park scoreboard and had three RBIs as the Giants beat the Brewers 6-4 on Tuesday night.
The Brewers went 2-for-13 with runners in scoring position off Cain (4-2) and have lost six of seven.
``We were on base it seemed like every inning,' Milwaukee manager Ron Roenicke said.
The Giants won for the eighth time in 11 games despite being outhit 11-5.
``We had Cain on the ropes,' Milwaukee's Nyjer Morgan said.
Cain pitched out of trouble, allowing four runs on 11 hits without walking a batter and striking out eight in seven innings.
``Everybody's hitting line drives right at somebody, man,' Morgan said. ``We didn't get those timely hits when we needed them. When we did hit it, it was right at somebody.'
Santiago Casilla pitched the ninth for his 11th save.
Milwaukee's Shaun Marcum (2-3) gave up six runs on five hits and two walks with five strikeouts in six innings. It was the first time this season the right-hander gave up more than three earned runs.
Posey's ground-rule double in the first scored Brandon Crawford to give the Giants a 1-0 lead. His two-run homer in the sixth ricocheted off the center field scoreboard and extended San Francisco's lead to 6-2.
It was his sixth homer of the season and second in two days. He hit a three-run homer in the top of the first inning Monday night in the Giants 4-3, 14-inning win over the Brewers.
Posey also tagged out Norichika Aoki at home without blocking the plate on a great throw from left fielder Melky Cabrera to complete a double play in the first inning. Posey missed most of last season after injuring his ankle on a collision at the plate.
``It hurts when you know you're facing a good pitcher and your offense isn't locked in,' Roenicke said. ``And when you come back to the first inning, you have a good chance to score and you don't.
``Cabrera made some kind of throw to put a stop to that inning,' he said. ``It hurts when they come out and score and then we don't answer back.'
Joaquin Arias hit his first major-league home run off Marcum in his 331st career major-league at-bat to give San Francisco a 4-0 lead in the fourth.
Ryan Braun's single in the seventh extended his hitting streak to 11 games and scored Aoki from third to pull Milwaukee within 6-4. Aramis Ramirez came up as the tying run, but Cain struck him out on his 115th and final pitch to end the Brewers' threat.
After Posey's double in the first, Angel Pagan hit a sacrifice fly to score Cabrera and give the Giants a 2-0 lead.
Milwaukee cut it to 4-2 in the bottom of the fourth when Rickie Weeks, in a 4-for-46 slump, hit a two-run double off the base of the center field wall.
NOTES: Cain has held batters to a .125 average (7-56) with runners in scoring position this year . . . The Brewers are 3-24 with runners in scoring position in the first two games of the series. . Brewers 1B Mat Gamel underwent surgery to repair his torn anterior cruciate ligament on Tuesday . . . Braun, who left Monday night's game in the 10th inning with a tight right groin, was back in the starting lineup Tuesday night.
Copyright 2017 by STATS LLC and Associated Press.
Any commercial use or distribution without the express written
consent of STATS LLC and Associated Press is strictly prohibited.