SAN FRANCISCO (AP) -- Ehire Adrianza became the latest pinch-runner in the majors to make a decisive dash.
Adrianza scored the winning run in his big league debut, speeding home Sunday on Angel Pagan's single in the 11th inning to lift the San Francisco Giants over the Arizona Diamondbacks 3-2.
In a week that saw Cincinnati's Billy Hamilton and Boston's Quintin Berry score key runs as pinch-runners, Adrianza did his part.
''That was so exciting,'' Adrianza said. ''I have been waiting for this moment since I was 3 years old. It was pretty amazing and it feels great. As a pinch-runner it was an honor to win a game like that.''
Adrianza has been a minor league shortstop in the Giants' system since he was 16 in 2006.
Hector Sanchez hit a leadoff single in the 11th against Joe Thatcher (3-2). Adrianza moved up when Gregor Blanco reached safely on a sacrifice bunt and beat the throw home on Pagan's single.
Javier Lopez (3-2) got the win. Sanchez also drove in a run for the Giants, who split the series with Arizona.
''I just tried to put the ball in play and took advantage of the hole,'' Sanchez said. ''I feel great right now. I'm comfortable swinging. I feel amazing.''
Eric Chavez and A.J. Pollack each drove in runs for the Diamondbacks.
''We have not swung the bats very well at all, especially in the good situations,'' Arizona manager Kirk Gibson said. ''We're not in a good streak right now.''
Gibson was ejected in the 10th for arguing after first base umpire Tom Hallion reversed his original call.
The Diamondbacks had runners at first and second with two outs when Aaron Hill grounded to first baseman Buster Posey. After bobbling the ball, Posey flipped to pitcher George Kontos covering the bag.
Hallion called Hill safe, then consulted with the other umpires and ruled him out.
Giants starter Madison Bumgarner threw six shutout innings, allowing four hits. He struck out nine and did not walk a batter. Bumgarner remains winless over his last seven starts.
''It doesn't matter if I get the win or not, that's out of our control,'' Bumgarner said. ''All the starters are trying to do is compete, eat up some innings and keep us in it.''
Diamondbacks starter Wade Miley went seven innings, allowing two runs on five hits. He walked two and struck out three.
Joaquin Arias singled to lead off the eighth for the Giants and went to second on Tony Abreu's sacrifice bunt. He was left there.
Matt Davidson walked to lead off the ninth for the Diamondbacks but pinch-runner Tony Campana was caught stealing. Miguel Montero followed with a single but was stranded.
Miley retired nine of the first 10 hitters before running into trouble in the fourth.
Tony Abreu walked and Posey doubled to open the inning. One out later, Sanchez bumped a single into right field to score one run and Posey later scored on a wild pitch.
The Diamondbacks scored twice in the eighth against Santiago Casilla, Chavez hit a sacrifice fly and Pollack had an RBI single.
NOTES: OF Hunter Pence needs a home run to become the first Giants player to record at least 20 home runs and 20 steals in a season since Barry Bonds in 1998. ... The Giants sold out their 237th regular season home game, doing it while the San Francisco 49ers hosting the Green Bay Packers in their regular-season opener. ... RHP Tim Lincecum (9-13, 4.50) makes the start for the Giants on Monday night when Colorado arrives to open a three-game set. He's 0-2 with an 8.00 ERA against the Rockies this year. ... The Diamondbacks will start RHP Randall Delgado (4-5, 3.69) in their series opener against the Dodgers in Los Angeles on Monday. He's allowed three earned runs or less in 12 of his 15 career starts. ... Arizona IF Martin Prado missed his second straight game with an illness. ... Diamondbacks INF Cliff Pennington returned to Arizona after the game to be with his wife, who will undergo induced labor on Monday.