[openstreetmap/openstreetmap-website] Add tag key and value max length to capabilities API call (#1593)

Tom Hughes notifications at github.com
Wed Jul 26 21:18:55 UTC 2017


I don't understand what your goal is - are you running an alternate installation of the code that you want to have a different limit?

The limit is almost certainly accidental and/or arbitrary. Certainly with postgres there is really no advantage to specifying a limit in the type - the on disk representation for `text` and `varchar(N)` is identical. All the latter form does is make the database police a maximum length.

-- 
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/1593#issuecomment-318185743
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170726/1d0d0997/attachment.html>


More information about the rails-dev mailing list