使用两个端点构造线段。
LSEG(expr1, expr2)
LSEG类型
SELECT LSEG(POINT('(-1,0)'), POINT('(1,0)')); EXPR1 | ----------------------+ [(-1.0,0.0),(1.0,0.0)]|