Breaking a Linestring into Segments in PostGIShttp://blog.cleverelephant.ca/2015/02/breaking-linestring-into-segments.html