Re: open and closed paths ...

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Hans-Jürgen Schönig <hs(at)cybertec(dot)at>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: open and closed paths ...
Date: 2001-04-08 21:15:57
Message-ID: Pine.LNX.4.30.0104082314060.1236-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Cedar Cox 2001-04-08 22:55:37 Re: please help
Previous Message Hans-Jürgen Schönig 2001-04-08 13:59:25 open and closed paths ...