Carlos Beltran hit his first home run in AT&T Park, ever, Tim Lincecum turned in a vintage eight-inning, 124-pitch effort and the Giants beat the Padres 2-1 to keep pace with the Diamondbacks in the NL West.