Giants pitcher Matt Cain was pulled because of right hamstring tightness before the start of the seventh inning in San Francisco's 2-1 victory over the Dodgers on Monday night.