PostGIS  2.3.7dev-r@@SVN_REVISION@@
PG_FUNCTION_INFO_V1 ( LWGEOM_z_point  )

Z(GEOMETRY) – return Z value of the point.

Returns
NULL if there is no Z in the point. Raise an error if input is not a point.