Patrick Bailey hit the first of three RBI singles in a four-run 10th inning, and the San Francisco Giants rallied from a five run deficit for a 9-5 win over the Pittsburgh Pirates on Wednesday night. Bailey started with a single to right off Carmen Mlodzinski (0-1), scoring automatic runner Thairo Estrada, before Jorge Soler followed with one up the middle to bring in Matt Chapman.