SAN FRANCISCO (AP) — He struck out twice, once with the bases loaded, and Hunter Pence was still serenaded like the hero he has become in San Francisco.
Buster Posey drove in a run, Tim Hudson allowed five hits over 6 1-3 innings and the Giants won their fourth straight, beating the Los Angeles Dodgers 2-0 on Tuesday night.
"Everybody is happy to have him back," Hudson said of Pence's first game at home since the World Series. "He's our mascot. He's the guy who makes things work for us. He keeps our mojo going in the dugout."
Joe Panik and Angel Pagan had two hits each for the Giants, who have won 11 of their past 14 home games.
While Pence, who missed the first 36 games with a broken bone in his left hand, did make a highlight reel catch to rob Adrian Gonzalez of extra bases in the sixth, it was his presence that excited fans and players alike.
"This ballpark is special," Pence said. "Coming home to our fans, it was an electric atmosphere."
Pence said he had trouble with Gonzalez's fly, but there's always something that hinders defensive play in right field.
"You never know about the wind, especially in that little Bermuda Triangle," he said. "That part of the ballpark, the fence is weird, you're running on the track and the wind is different every night. I keep my eyes on the ball and, fortunately, caught it."
Alex Guerrero had two hits for the Dodgers, who have lost four of six overall and five of seven to the Giants.
Hudson (2-3) did not allow a run for the first time since his first start of the season on April 9. He walked two and struck out two.
"I pitched just enough to keep us in there," Hudson said. "I got away with some tough pitches."
Carlos Frias (3-1) retired the first two batters of the third inning before consecutive singles from Panik, Pagan and Posey, who has an 11-game hitting streak, produced a run.
The Giants' second run scored in the eighth inning on a wild pitch by Chris Hatcher.
Sergio Romo, the Giants' fourth pitcher of the seventh inning, retired Howie Kendrick on a comebacker with the bases loaded to keep the shutout intact.
Romo got four outs and Santiago Casilla pitched the ninth for his 10th save in 12 chances.
Frias limited the Giants to one run and seven hits over six innings. He walked two and struck out three.
"Carlos was good tonight," Dodgers manager Don Mattingly said. "He did the job for us. He gave us a chance. We haven't scored a lot of runs lately. Hopefully it's a short little stretch and we can come back tomorrow and put some runs on the board."
Dodgers: LHP Hyun-Jin Ryu will decide Wednesday whether to undergo surgery on his left shoulder, which has not responded to rest and treatment. He's been out since spring training. He was to consult with Dodgers team doctors on Tuesday. ... RHP Brandon Beachy is closer to returning to action following Tommy John surgery last year. He threw a bullpen session Monday and reported it was one of his better ones. "He's making progress," Mattingly said. "Mentally he's moving forward. He's getting closer and closer to games."
Giants: RHPs Jake Peavy and Matt Cain threw bullpen sessions. Cain started throwing breaking balls. Manager Bruce Bochy said the team will decide Wednesday on Peavy's immediate future, though he indicated the possibility of a rehab start in San Jose.
Dodgers: LHP Brett Anderson (2-1, 3.50) pitches against the Giants on Wednesday. It will be his 100th career appearance (89th start) and sixth against the Giants. He's 0-3 with a 6.10 ERA against them.
Giants: RHP Tim Lincecum (3-2, 2.43) makes his third start against the Dodgers this season. He's 10-8 with a 3.45 ERA in 28 games against them.