[HACKERS] Allowing dash character in LTREE - Mailing list pgsql-hackers

From Cyril Auburtin
Subject [HACKERS] Allowing dash character in LTREE
Date
Msg-id CAKteAhGVvvOLhiav1-Cwu9_JN_EW80Rao_MBsYMO0QfbWpbJFw@mail.gmail.com
Whole thread Raw
List pgsql-hackers
I propose to allow the `-` char in allowed label characters (currently a-zA-Z0-9_ https://www.postgresql.org/docs/9.6/static/ltree.html)

The reason is to allow to use more easily base64 ids, (like https://github.com/dylang/shortid, ...), uuid's too in labels

`-` is also not used as a query operator as a plus



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Preliminary results for proposed new pgindent implementation
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] [POC] hash partitioning