concept two - point linestring in category postgis

appears as: two-point linestrings, two-point linestring
PostGIS in Action, Third Edition

This is an excerpt from Manning's book PostGIS in Action, Third Edition.

11.3.2  Creating two-point linestrings from many-point linestrings

One common task is taking a linestring or multilinestring with various points and breaking it into smaller linestrings, each with two points. The code in the next listing takes GPS-track multilinestrings and converts them to two-point linestrings.