Updated

Neil Walker hit a tiebreaking, two-run double on the eighth inning, capping a comeback from a five-run deficit to lead the Pittsburgh Pirates over the Toronto Blue Jays 8-6 Saturday night.

A night after wasting a 5-3, ninth-inning lead in a 6-5 loss, Toronto surged ahead 5-0 in the fourth and 6-2 in the seventh

Aaron Loup relieved R.A. Dickey after Clint Barmes' leadoff double in the seventh, and the Pirates tied the score on Josh Harrison's RBI double, Pedro Alvarez's run-scoring groundout and pinch-hitter Jordy Mercer's two-run double.

One inning later, Ike Davis reached on a one-out infield single against Todd Redmond (0-3), Harrison singled and Walker hit a drive off the top of the center-field wall. The Pirates could have boosted their lead, but Starling Marte lined out to first against Chad Jenkins with the bases loaded.

Bryan Morris (3-0) pitched a perfect eighth, and Mark Melancon earned his first save of the season in place of injured closer Jason Grilli, retiring Colby Ramus on a game-ending groundout with two on.