From: Jin <jindiax@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #5745: geometry bug?
Date: Wed, 10 Nov 2010 10:08:33 GMT
Message-ID: <201011101008.oAAA8Xm2028579@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 5745
Logged by: Jin
Email address: jindiax@gmail.com
PostgreSQL version: 8.4.5
Operating system: windows xp pro sp3
Description: geometry bug?
Details:
The distance of the horizontal lseg and the point on that is inaccurate.
select point(1.0,1.0) <-> lseg'(0.0,0.0),(2.0,0.0)';
↓
result 1.4142135623731
must be 1.0
P.S.
I'm sorry about if it was already reported.
Because I can't read English well.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: jindiax@gmail.com
Subject: Re: BUG #5745: geometry bug?
In-Reply-To: <201011101008.oAAA8Xm2028579@wwwmaster.postgresql.org>
References: <201011101008.oAAA8Xm2028579@wwwmaster.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox