The Padres got on the board first in the bottom of the third inning after Yonder Alonso’s sacrifice fly brought Will Venable across the plate to give San Diego a 1-0 lead.
The Padres earned another run in the bottom of the fifth and went up 2-0 off of a single by Alonso scored Chris Denorfia.
The Pirates had their chances early. Felix Pie, back in the majors after a two year hiatus, got things off to a surprising start when he slid into first base and to beat out an infield single on a ground ball to Logan Forsythe. Moments later, however, Pie was caught stealing second. The Pirates threatened later in the inning with two outs and bases loaded, but could not capitalize when Garrett Jones struck out.
The Pirates cut the lead to 2-1 in the top of the eighth after a sac fly by Andrew McCutchen allowed Pie to score. Pittsburgh looked to tie the game up in the top of the ninth, but San Diego held on to win the game to avoid a sweep in the three-game series.
The Pirates play in San Francisco Thursday night.