After the Pirates tied the score, Jonny Gomes hit a go-ahead home run in the ninth against Clayton Richard and Jesus Flores had a run-scoring infield single.
Rodriguez allowed four runs and eight hits in five innings. Worley retired 13 in a row after Johnson's homer and wound up giving up seven hits in six innings
Walker doubled and scored on Andrew McCutchen's single in the third inning, then homered in the fifth. Francisco Cervelli hit an RBI double.