I am reading The Variational Principles of Mechanics by Cornelius Lanczos; here is the concerned excerpt:
The fact that geometry can be established analytically and independently of any special reference system is only one of the merits of Riemannian geometry. Even more fundamental is the discovery by Riemann that the definition $$\bar{\mathrm ds}^2= \sum_{i,~k~=~1}^n \, g_{ik}\,\mathrm dx_i\mathrm dx_k\, \tag {15.7}$$ of line element gives not only a new, but a much more general, basis for building geometry than the older basis of Euclidean postulates. The $g_{ik}$have to belong to a certain class of functions in order to yield the Euclidean type of geometry.
So, how does the Riemannien geometry yield the postulates of Euclidean Geometry? What certain class of functions, mentioned by the author, do yield the old postulates?
A topological space $M$ and metric $g$ can define completely wild things but among them one can define in this way the usual $\mathbb{R}^n$. However a lot of investigation has been going on trying to understand these objects, a lot of it is related to the postulates as examples. I try to answer you question by relating the postulates to objects, quantities and theorems of Riemannian geometry.
In order to exclude patological cases we assume that $M$ is connected.
This is the case if the Riemann manifold defined is geodesically convex. Several Theorems consider sufficient conditions for $X,g$ to have this property.
This is an equivalent definition of a complete manifold. This is also subject to several Theorems, the most prominent is the Hopf-Rhinow theorem.
This could be a consideration about the injectivity radius of the manifold, as an example hyperbolic spaces have everywhere infinite injectivity radius and hence for all of them this postulate holds.
I must say that I have troubles whit that one, however since we define angles on the Tangent plane this should be fine for all Riemann manifolds, maybe there are problems with general metric spaces but I'm not sure.
In Riemann geometry this is what the curvature deals with. Except that the curvature tells us what happens in an infinitesimal small neighborhood. A result which threats this globally would be: If all sectional curvatures are non negative this is true, but it might be true in other cases.