From: Alban Hertroys <haramrae@gmail.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: joernbs <joern.jaenecke@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Ltree: set of allowed charcters is limited to [A-Za-z0-9_]. Could the dash "-" be included?
Date: Sat, 27 Oct 2018 21:02:12 +0200
Message-ID: <D42E357D-14AD-4829-A636-F6C78A8A27B4@gmail.com> (raw)
In-Reply-To: <CAKFQuwbABEApQRK5UeGs+k5dLX-grD-OqQhHQpv3Cap=RXO_8Q@mail.gmail.com>
References: <CAHqoMn-m0xrrqqKXhmAjZGo=W1jVzLGpuDnaiS0kuSfDAXS1CA@mail.gmail.com>
<CAKFQuwbABEApQRK5UeGs+k5dLX-grD-OqQhHQpv3Cap=RXO_8Q@mail.gmail.com>
> On 27 Oct 2018, at 18:14, David G. Johnston <david.g.johnston@gmail.com> wrote:
>
>> On Saturday, October 27, 2018, joernbs <joern.jaenecke@gmail.com> wrote:
>> Dear friends,
>>
>> I would like to use ltree for search paths in a warehouse application, something like "Material-Entry-01.Main-Aisle.Shelf-Aisle-R07/R08.R07-12-03"
>> Unfortunately I can not use common separators like dash (-) or slash(/)
>>
>> Documentation states only thes characters [A-Za-z0-9_] are allowed.https://www.postgresql.org/docs/10/static/ltree.html
>>
> I don’t see how this would be possible to do with the existing type - too much potential breakage of existing data. Your example itself shows why using dash as a separator is a bad idea.
David,
I don't think he's talking about separators ;)
Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.
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-general@postgresql.org
Cc: haramrae@gmail.com, david.g.johnston@gmail.com, joern.jaenecke@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: Ltree: set of allowed charcters is limited to [A-Za-z0-9_]. Could the dash "-" be included?
In-Reply-To: <D42E357D-14AD-4829-A636-F6C78A8A27B4@gmail.com>
References: <CAHqoMn-m0xrrqqKXhmAjZGo=W1jVzLGpuDnaiS0kuSfDAXS1CA@mail.gmail.com> <CAKFQuwbABEApQRK5UeGs+k5dLX-grD-OqQhHQpv3Cap=RXO_8Q@mail.gmail.com> <D42E357D-14AD-4829-A636-F6C78A8A27B4@gmail.com>
* 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