Gallagher's last appearance came on June 30, when he threw 41 pitches in a two-inning outing. The Pirates plan to use him in a middle-relief role initially. He will wear uniform No. 43.
A roster spot was opened for Gallagher on Wednesday night after the Pirates optioned starter Daniel McCutchen to Triple-A.