Padres get just 1 hit, still beat Pirates 3-2