ST_RemovePoint() - M
:memory: #use in-memory database
SELECT AsText(RemovePoint(GeomFromText('LINESTRINGM(0 0 1, 1 0 2, 1 1 3)'), 1))
1 # rows (not including the header row)
1 # columns
AsText(RemovePoint(GeomFromText('LINESTRINGM(0 0 1, 1 0 2, 1 1 3)'), 1))
LINESTRING M(0 0 1, 1 1 3)