The PostgreSQL 9.0 Reference Manual - Volume 1A - SQL Language Reference
by The PostgreSQL Global Development Group Paperback (6"x9"), 454 pages ISBN 9781906966041 RRP £14.95 ($19.95) Sales of this book support the PostgreSQL project! Get a printed copy>>> |

### 6.8.4 Paths

Paths are represented by lists of connected points. Paths can be
*open*, where
the first and last points in the list are considered not connected, or
*closed*,
where the first and last points are considered connected.

Values of type `path`

are specified using any of the following
syntaxes:

[ (x1,y1) , ... , (xn,yn) ] ( (x1,y1) , ... , (xn,yn) ) (x1,y1) , ... , (xn,yn) (x1,y1, ... ,xn,yn)x1,y1, ... ,xn,yn

where the points are the end points of the line segments
comprising the path. Square brackets (`[]`

) indicate
an open path, while parentheses (`()`

) indicate a
closed path. When the outermost parentheses are omitted, as
in the third through fifth syntaxes, a closed path is assumed.

Paths are output using the first or second syntax, as appropriate.

ISBN 9781906966041 | The PostgreSQL 9.0 Reference Manual - Volume 1A - SQL Language Reference | See the print edition |