Getting started
Geometry 2D functions
Geometry 3D/4D functions
System functions
Applications
For developers
DOUBLE ST_XMax(GEOMETRY geom);
Returns the maximum x-value of geom.
geom
SELECT ST_XMax('LINESTRING(1 2 3, 4 5 6)'); -- Answer: 4.0
ST_XMin, ST_YMax, ST_YMin, ST_ZMax, ST_ZMin
ST_XMin
ST_YMax
ST_YMin
ST_ZMax
ST_ZMin
Source code