[openstreetmap/openstreetmap-website] Increase may key and value max length (#2025)

Tom Hughes notifications at github.com
Fri Oct 12 16:16:36 UTC 2018


Well you might as well get rid of it altogether because any length limit in postgres is entirely arbitrary - the storage for `char(N)`, `varchar(N)` and `text` is all identical - the first two just do a length check on insert is all.

That said such large values is really stretching the basic concept of tags if you ask me, especially for the name.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-429380237
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181012/f2071d32/attachment-0001.html>


More information about the rails-dev mailing list