BUG #5745: geometry bug?

From: "Jin" <jindiax(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5745: geometry bug?
Date: 2010-11-10 10:08:33
Message-ID: 201011101008.oAAA8Xm2028579@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5745
Logged by: Jin
Email address: jindiax(at)gmail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message tv 2010-11-10 12:48:47 Re: Why dose the planner select one bad scan plan.
Previous Message 静安寺 2010-11-10 09:37:29 Why dose the planner select one bad scan plan.