Updated

Wade Miley can join some elite company on Wednesday when the Arizona Diamondbacks try to complete a three-game sweep of the San Diego Padres at Chase Field.

Miley needs just one win to become the second Arizona left-hander to reach 10 wins in back-to-back seasons since Randy Johnson (1999-2002). Miley, though, has had three cracks at that elusive 10th win and has not received a decision in any of those outings. He is 9-8 on the year with a 3.60 ERA.

It may not get any easier for him on Wednesday, as he is 0-3 with a 7.36 ERA versus the Padres this season and is 1-5 with a 6.57 ERA lifetime against them.

Getting the call for San Diego on Wednesday will be lefty Robbie Erlin, who will be taking the spot of the recently released Edinson Volquez. Erlin hasn't pitched for the Padres since getting rocked by Washington to the tune of nine runs in four innings back on July 7.

He is 1-2 in six appearances (4 starts) this season with a 7.15 ERA.

"In Robbie's first four starts, two have been good, two have been a little rough," Padres manager Bud Black said. "It's time for Robbie to make a statement as a Major League pitcher."

Arizona needed extra innings on Tuesday, as Aaron Hill's single to left scored Adam Eaton to give the Diamondbacks a wild 10-9 win in 10 innings.

In a game that featured multiple lead changes, outstanding defensive plays and 26 hits, Arizona again capitalized with late-game heroics to win for the 11th time in walk-off fashion this season.

The Diamondbacks, who moved to 15-5 in extra innings, pulled within five games of Cincinnati for the second wild card spot. They are 8 1/2 games behind the first-place Los Angeles Dodgers in the NL West.

Gerardo Parra homered and knocked in a career-high five runs. Prado had three RBI and Eaton went 3-for-5, as the Diamondbacks won for the third time in four games.

"We made a lot of mistakes. Our bullpen obviously had trouble. You're seeing some residual effects of the extra-inning games. We got through it," Arizona manager Kirk Gibson said.

Ronny Cedeno knocked in three runs and Jedd Gyorko had two RBI for San Diego, which has lost five of seven.

"That was a game that had a lot of direction both ways," Black said.

Despite losses in the first two games of this series, San Diego leads the season matchup with Arizona, 8-6.