| From: | Robert Mu <dbx_c(at)hotmail(dot)com> |
|---|---|
| To: | "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: Issue when using ltree |
| Date: | 2015-08-26 06:50:01 |
| Message-ID: | BAY174-W4344CCF1DAC8F522639338D600@phx.gbl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
I'm using the latest source code (PostgreSQL 9.6devel)
From: dbx_c(at)hotmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: [BUGS] Issue when using ltree
Date: Wed, 26 Aug 2015 14:42:35 +0800
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?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Munro | 2015-08-26 07:55:59 | Re: BUG #13589: content error |
| Previous Message | Robert Mu | 2015-08-26 06:42:35 | Issue when using ltree |