> On Oct 15, 2020, at 13:49, Dirk Krautschick <Dirk(dot)Krautschick(at)trivadis(dot)com> wrote:
> Or do you have some other ideas how to use a primary key datatype like UUID but with variable length?
You're probably best off storing it as a VARCHAR() with a check constraint or constraint trigger that validates it.
--
-- Christophe Pettus
xof(at)thebuild(dot)com