Manager Bruce Bochy isn't afraid to acknowledge that the Giants are "fortunate" to be in as good of shape as they are in the N.L. West despite a prolonged rough stretch. On Tuesday, the Giants were fortunate to escape with a victory over the San Diego Padres after twice blowing leads and needing a two-run rally in the eighth in their 5-4 win at sold-out AT&T Park. The win snapped a three-game losing streak and provided a much-needed morale boost for a team that has been playing minus several key players for an extended period. Bochy received what he hopes is a harbinger of good things, with the return of second baseman Marco Scutaro and tangible progress made by third baseman Pablo Sandoval and center fielder Angel Pagan in their rehab from foot and hamstring injuries, respectively. Bochy also got a third straight solid performance from ace Matt Cain, who deserved better than a no-decision for his 10-strikeout performance over seven innings. The Giants took a 3-2 lead in the seventh, only to find themselves trailing in eighth. However, Brandon Belt and Juan Perez delivered run-scoring hits to turn the Giants' fortunes, if only for a day. "He really lifted us," Bochy said of Belt, whose double off the wall in deep right-center scored pinch runner Andres Torres from first and ignited the crowd. "We needed somebody to do something there, especially when you have a one-run lead in the eighth and you lose it. When you're banged up the way we are, you're hoping the other guys pick it up, and he did tonight."