More information needed - above ground or below ground?
Generally speaking, a pinhole on the outside is hiding much more corrosion on the other side, a bit like a bullet wound.
You could try a a soil pipe repair band - won't look pretty. Also could try a glassfibre and resin patch if you can keep it dry for a few hours