Trevor Brown made the most of his first Major League hit Tuesday and Angel Pagan hit a two-run home run as the Giants edged the Padres, 4-2, at Petco Park. San Francisco's faint postseason hopes improved as the Dodgers lost, cutting the Giants' National League West deficit to six games.