Re: open and closed paths ... - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: open and closed paths ...
Date
Msg-id Pine.LNX.4.30.0104082314060.1236-100000@peter.localdomain
Whole thread Raw
In response to open and closed paths ...  (Hans-Jürgen Schönig <hs@cybertec.at>)
List pgsql-sql
Hans-Jürgen Schönig writes:

> I am using PostgreSQL 7.0.3. I have tried the isopen() function but it
> doesn't seem to work (or it is not fully implemented yet).
> In my opinion the third record is a closed path but the isopen()
> functions return f.

For no good reason apart from ancient tradition, paths enclosed in
parentheses, like ((3,1),(2,8),(10,4)), are implicitly closed.  To make an
open path brackets should be used, like [(3,1),(2,8),(10,4)].

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-sql by date:

Previous
From: Hans-Jürgen Schönig
Date:
Subject: open and closed paths ...
Next
From: Cedar Cox
Date:
Subject: Re: Casting numeric to text