It is extremely dangerous to consider that an external light on a metal pole running at mains voltage would not need to be protected from the weather.
Please do not attempt to see if it works again, it is entirely possible that the metal post may have a significant voltage on it.
If the...