ST_PointZ — Creates a Point with the given coordinate and SRID values.
geometry ST_PointZ(float x, float y, float z, integer srid=unknown);
geometry ST_PointZ(
)
Returns an Point with the given X, Y and Z coordinate values, and optionally an SRID number.
SELECT ST_PointZ(-71.104, 42.315, 3.4, 4326)
SELECT ST_PointZ(-71.104, 42.315, 3.4, srid => 4326)
SELECT ST_PointZ(-71.104, 42.315, 3.4)
ST_MakePoint, ST_Point, ST_PointM, ST_PointZM