ST_RemovePoint
Name
ST_RemovePoint — Remove point from a linestring.
Synopsis
    
     geometry
     
      ST_RemovePoint
     
     (
    
    geometry
    
     linestring
    
    , integer
    
     offset
    
    
     )
    
    ;
   
Description
Remove a point from a linestring, given its 0-based index. 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.