St. Patrick's Athletic kept the pressure on table toppers Shamrock Rovers with a 2-1 win against Waterford.