Sanchez lifts Giants over Brewers in extras

Hector Sanchez knocked in the game- winning run in the bottom of the 11th inning and the San Francisco Giants edged the Milwaukee Brewers, 4-3, in the finale of a three-game set at AT&T Park on Sunday.

Facing Tim Dillard (0-1), Buster Posey started the frame with a single up the middle before Angel Pagan dropped down a perfect sacrifice bunt to move pinch- runner Emmanuel Burriss to second. Brandon Belt was intentionally walked and Ryan Theriot also walked to load the bases. Sanchez got ahead in the count 3-0 before slicing a 3-2 sinker into left to plate Burriss.

Javier Lopez (3-0) recorded the final out of the top of the 11th to earn the win.

"We came from a tough three games with the Marlins and we wanted to be able to head to LA with a victory," Pagan said. "We feel good about it."

Conor Gillaspie, Angel Pagan and Theriot all knocked in runs for the Giants, who took the last two games of this series after dropping four straight.

Aramis Ramirez drove home two runs and Travis Ishikawa added an RBI double for the Brewers, who have lost four of their last five contests.

Milwaukee entered the ninth trailing, 3-2, but Corey Hart led off the inning and reached on a fielding error by Gillaspie at third. After Jonathan Lucroy fanned and Taylor Greene popped out, Ishikawa -- a former Giant -- burned his old team by ripping a 3-2 pitch from Santiago Casilla into center field. The ball got past a drawn in Pagan and Hart was able to score,

Earlier, the Brewers struck first in their first at-bat. Nyjer Morgan coaxed a leadoff walk, stole second and after back-to-back strikeouts by Rickie Weeks and Ryan Braun, Ramirez came through with an RBI base hit to put the Brewers on top.

It would not last long though, as the Giants answered with a pair of runs in the home half of the frame.

Gregor Blanco walked to start the rally and came all the way around to tie the game on a double into the right-center field gap by Gillaspie. Melky Cabrera followed with a single into left to put runners on the corners and after a Posey strikeout, Pagan grounded into a fielder's choice to bring home Gillaspie for a 2-1 Giants edge.

San Francisco tacked on a run in the fourth when Pagan drove a double to left to begin the inning and came around to score on a base hit by Theriot.

The Brewers got a run back in the sixth when Weeks ripped a one-out double and Braun followed with a single to put men on the corners. Ramirez then lofted a sacrifice fly to right which scored Weeks to make it 3-2.

"Everything is going to have to go like it did last year, where on both sides of the ball we do what we're capable of doing," Brewers manager Ron Roenicke said. "I really believe we are (a good baseball team) regardless of injuries, we still have a good enough team that we can win."

Game Notes

San Francisco finished its 9-game homestand with a record of 4-5...Following Sunday's game, the Giants will embark on a 6-game road trip through Los Angeles and Arizona...Pagan extended his hitting streak to 20 games. He and Pablo Sandoval became just the third pair of Giants teammates to have hit safely in at least 20 games in the same season in Giants franchise history and the first to do it since the team moved to San Francisco...Atlanta's Freddie Freeman (20 games) and Dan Uggla (33) are the last pair of teammates to have 20-plus game hit streaks in the same season (2011)...Giants starter Matt Cain gave up two runs on six hits and one walk while fanning 10 over seven innings. It was the ninth career 10-strikeout game for Cain...Brewers starter Shaun Marcum yielded three runs on five hits and two walks while whiffing three in six frames.