Re: open and closed paths ...

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: open and closed paths ...
Дата
Msg-id Pine.LNX.4.30.0104082314060.1236-100000@peter.localdomain
обсуждение исходный текст
Ответ на open and closed paths ...  (Hans-Jürgen Schönig <hs@cybertec.at>)
Список 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 по дате отправления:

Предыдущее
От: Hans-Jürgen Schönig
Дата:
Сообщение: open and closed paths ...
Следующее
От: Cedar Cox
Дата:
Сообщение: Re: Casting numeric to text