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

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

pgsql-bugs by date

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

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