SAN DIEGO -- Rookie Trevor Brown's RBI double was his first major league hit and Angel Pagan had a two-run home run for the San Francisco Giants, who beat the San Diego Padres 4-2 on Tuesday night to pull within six games of first-place Los Angeles in the NL West.