Matt Cain notched his 100th win.
Madison Bumgarner pinch hit for Matt Cain, doubling in the fifth inning.
Santiago Casilla celebrates after striking out Daniel Murphy to end the game.
Angel Pagan singles in the seventh inning.
Jeff Samardzija celebrates after scoring as a pinch runner for Madison Bumgarner and scoring on an error hit into by Hunter Pence in the fifth inning.
Brandon Belt singles in the second inning.
Buster Posey singles in the second inning.
Conor Gillaspie triples in the third inning.
Joe Panik throws out Ben Revere in the fifth inning.
Denard Span high fives Buster Posey after scoring on a single hit by Angel Pagan in the seventh inning.
Hunter Pence singles in the seventh inning.
Javier Lopez pitches in the eighth inning.
Trevor Brown singles in the eighth inning.
Gregor Blanco, Angel Pagan and Hunter Pence celebrate after the ninth inning.