The SE_VertexAppend() function
The SE_VertexAppend() function appends a vertex to the end of an ST_LineString. If the linestring has Z values or measures, the vertex to be appended must also have Z values or measures.
Syntax
SE_VertexAppend (ST_LineString, ST_Point)
Return type
ST_LineString