Greetings,

* Christophe Pettus (x...@thebuild.com) wrote:
> > On Oct 15, 2020, at 13:49, Dirk Krautschick <dirk.krautsch...@trivadis.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.

Surely a bytea would be better and be less overhead than storing it as
text..

Thanks,

Stephen

Attachment: signature.asc
Description: PGP signature

Reply via email to