BUG #3720: wrong results at using ltree

Lists: pgsql-bugs
From: "M(dot) Palm" <m(dot)palm(at)geoinsoft(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3720: wrong results at using ltree
Date: 2007-11-05 16:19:01
Message-ID: 200711051619.lA5GJ1h3065024@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3720
Logged by: M. Palm
Email address: m(dot)palm(at)geoinsoft(dot)de
PostgreSQL version: 8.2.4
Operating system: Windows Server 2003 Web Edition
Description: wrong results at using ltree
Details:

I think I found a bug in the ltree module. The following query should return
false but I get true.

SELECT '5.0.1.0'::ltree ~ '5.!0.!0.0'::lquery

I get the same result with the 'ltree.dll' of PostgreSQL 8.2.5. If you have
a solution of the problem I would be very happy.