Re: problem of geometric operator in v8.2.1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ioseph Kim" <pgsql-kr(at)postgresql(dot)or(dot)kr>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: problem of geometric operator in v8.2.1
Date: 2007-02-02 21:36:52
Message-ID: 24424.1170452212@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Ioseph Kim" <pgsql-kr(at)postgresql(dot)or(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-02-02 21:50:10 Re: Referential Integrity and SHARE locks
Previous Message Ioseph Kim 2007-02-02 21:21:21 Re: problem of geometric operator in v8.2.1