ST_RemovePoint — Removes point from a linestring. Offset is 0-based.
geometry ST_RemovePoint(
geometry linestring, integer offset)
;
Removes point from a linestring. Useful for turning a closed ring into an open line string
Availability: 1.1.0
This function supports 3d and will not drop the z-index.