Mesh safety fence for a swimming pool