the sensor in the pan is for oil level. you shouldnt have to ever see that light because you check your dipstick every so often, right?
the sensor on the oil pump housing is for oil pressure. if that light ever comes on it's too late because it only comes on when it sees less than 5psi and that's way too low. expect a new bottom end if you're seeing this light.