lseg ?# (intersects) incorrect for lsegs whose intersection is another lseg - Mailing list pgsql-bugs

From Andy Meyer
Subject lseg ?# (intersects) incorrect for lsegs whose intersection is another lseg
Date
Msg-id 47D6C894.3050201@itasoftware.com
Whole thread Raw
List pgsql-bugs
Using PostgreSQL 8.2.3, on linux (FC3):

test=> select lseg'((0,0),(1,0))' ?# lseg'((0,0),(1,0))';
-[ RECORD 1 ]
?column? | f

while

avail=> select lseg'((0,0),(1,0))' ?# lseg'((0,0),(1,1))';
-[ RECORD 1 ]
?column? | t

Looking over the geometric operations source it appears that the
intersect operation applied to line segments will only work if they
intersect at a single point.

pgsql-bugs by date:

Previous
From: "James"
Date:
Subject: BUG #4025: wsock32.dll not found
Next
From: "Yogesh"
Date:
Subject: BUG #4026: Displaying Wrong dates