Breast pumping question.

Hi ladies. So I plan on exclusively pumping for my baby, and I was wondering if there was a difference between lanolin and petroleum jelly, petroleum jelly is obviously cheaper but would it work the same and is it safe for baby just incase some got into the milk