Returns a copy of the point with the Z coordinate set to the specified zcoord value.
SELECT NEW ST_Point( 1.0, 2.0, 3.0 ).ST_Z( 5.0 )
SQL/MM (ISO/IEC 13249-3: 2006) 6.1.5