Postgre access to create line segment