Bug #477: path ?# path

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Bug #477: path ?# path
Дата
Msg-id 200110091917.f99JH9N64033@postgresql.org
обсуждение исходный текст
Ответы Re: Bug #477: path ?# path
Re: Bug #477: path ?# path
Список pgsql-bugs
Curtis Barrett (curtis@northwestern.edu) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
path ?# path

Long Description
nothing major. the ?# (geometric intersection) operator for paths iterates over point pairs in each path testing for
intersection.however, it ignores the last->first point pair for closed paths. a quick workaround is to tack the first
pointon the end of a closed path. 

Sample Code
# select '((1,1),(2,0))'::path ?# '((0,0),(0,2),(2,2))'::path;
 ?column?
----------
 f
(1 row)

# select '((1,1),(2,0))'::path ?# '((0,0),(0,2),(2,2),(0,0))'::path;
 ?column?
----------
 t
(1 row)


No file was uploaded with this report

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug #476: pg_dump error: dtoi4: integer out of range
Следующее
От: Mika Mantyla
Дата:
Сообщение: SQLPutData bug ?