FWIW I've flown with one guy who is married to another pilot - first marriage and still going strong with kids. Great people.
I have some friends at both SW and DL who are pilots and who are married to fellow pilots.
I know others who are married to pilots of different airlines and they seem to make it work.