[Cubicweb] unique constraint on unlimited String attribute

Sylvain Thénault sylvain.thenault at logilab.fr
Thu Jun 16 14:25:50 CEST 2016

Hi there,

a while ago I added a unique constraint on cwuri in cubicweb. I've just
discovered today that it has been removed by 1ee631aedf2f. So I'm wondering: is
it really a bad habit to add UNIQUE on unlimited string? I remember being
advised to never set size constraint on string on postgres for instance...

Sylvain Thénault, LOGILAB, Paris ( - Toulouse (
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

More information about the Cubicweb mailing list