The fence would need to be a permanent structure - not a flimsy wooden thing :)
Do you mean attach the cable to the concrete posts with no support in between? What distance apart are the posts?
If burying the cable is not possible what about using a catenary wire?
PartP will mean this...