In terms of pathogens, is it safer for kids to swim in a public pool or fresh water such as a river?

Pool. At least a public pool has chlorine in the water to suppress germ growth. I'm not fond of baby wading pools that permit kids in diapers free access. The river or lake has animal poo full of germs and parasites.