Re: problem of geometric operator in v8.2.1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: problem of geometric operator in v8.2.1
Date
Msg-id 24424.1170452212@sss.pgh.pa.us
Whole thread Raw
In response to Re: problem of geometric operator in v8.2.1  ("Ioseph Kim" <pgsql-kr@postgresql.or.kr>)
List pgsql-hackers
"Ioseph Kim" <pgsql-kr@postgresql.or.kr> writes:
> when @-@ operator used at path type,
> below query maybe returns 1.
> because this path is just line.

No, because it's a closed path, so it's a loop from (0,0) to (1,0)
and back again.  If you don't want to count the return segment,
use an open path.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Ioseph Kim"
Date:
Subject: Re: problem of geometric operator in v8.2.1
Next
From: Tom Lane
Date:
Subject: Re: Referential Integrity and SHARE locks