Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group