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