SAN DIEGO -- Jedd Gyorko hit an RBI single to right-center with two outs in the ninth inning Wednesday night to give the San Diego Padres a wild 5-4 win over the San Francisco Giants, who dropped seven games behind first-place Los Angeles in the NL West with 11 to go.