From: Robert Mu <dbx_c@hotmail.com>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: Issue when using ltree
Date: Wed, 26 Aug 2015 14:50:01 +0800
Message-ID: <BAY174-W4344CCF1DAC8F522639338D600@phx.gbl> (raw)
In-Reply-To: <BAY174-W170C97EB2D4C35BC36BCE8D600@phx.gbl>
References: <BAY174-W170C97EB2D4C35BC36BCE8D600@phx.gbl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
I'm using the latest source code (PostgreSQL 9.6devel)
From: dbx_c@hotmail.com
To: pgsql-bugs@postgresql.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?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: dbx_c@hotmail.com
Subject: Re: Issue when using ltree
In-Reply-To: <BAY174-W4344CCF1DAC8F522639338D600@phx.gbl>
References: <BAY174-W170C97EB2D4C35BC36BCE8D600@phx.gbl> <BAY174-W4344CCF1DAC8F522639338D600@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox