Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9B5F01337B5B for ; Wed, 10 Nov 2010 06:08:34 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 82004-08 for ; Wed, 10 Nov 2010 10:08:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id BD8901337B6E for ; Wed, 10 Nov 2010 06:08:33 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id oAAA8XUq028580 for ; Wed, 10 Nov 2010 10:08:33 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id oAAA8Xm2028579; Wed, 10 Nov 2010 10:08:33 GMT (envelope-from www) Date: Wed, 10 Nov 2010 10:08:33 GMT Message-Id: <201011101008.oAAA8Xm2028579@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5745: geometry bug? From: "Jin" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201011/55 X-Sequence-Number: 28635 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.