Allowing dash character in LTREE

From: Cyril Auburtin <cyril(dot)auburtin(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Allowing dash character in LTREE
Date: 2017-05-19 11:18:28
Message-ID: CAKteAhEKmy6tyLu5fZMqmH6Ofrkjs_7aBcFdN2851g6R1LtjeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I propose to allow the `-` char in allowed label characters

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

source:
https://doxygen.postgresql.org/ltree_8h.html#a1cb5d5dd0c364d720854e8a250967dd1

Browse pgsql-hackers by date

  From Date Subject
Next Message Pierre-Emmanuel André 2017-05-19 11:32:37 Re: PostgreSQL 10beta1 - compilation fails on OpenBSD -current
Previous Message Stephen Frost 2017-05-19 11:03:54 Re: Preliminary results for proposed new pgindent implementation