Issue when using ltree

From: Robert Mu <dbx_c(at)hotmail(dot)com>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Issue when using ltree
Date: 2015-08-26 06:42:35
Message-ID: BAY174-W170C97EB2D4C35BC36BCE8D600@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

In the regress test of ltree module .

--this query return false
SELECT 'a.b.c.d.e'::ltree ~ '*{1}.!b.*.!c.*.e';
?column?
----------
f
(1 row)

--this query return true
SELECT 'a.b.c.d.e'::ltree ~ '*{1}.!b.*{1}.!c.*.e';
?column?
----------
t
(1 row)

I think if the second query return true, the first query should return true too (Obviously the "*" is contain the "*{1}").

Am i right?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Mu 2015-08-26 06:50:01 Re: Issue when using ltree
Previous Message Dmitry Shvedov 2015-08-26 03:48:53 Re: BUG #13586: Repository/Distribution issues