On 9/18/17 18:46, Peter Geoghegan wrote: > As I pointed out a couple of times already [1], we don't currently > sanitize ICU's BCP 47 language tags within CREATE COLLATION.
There is no requirement that the locale strings for ICU need to be BCP 47. ICU locale names like 'de@collation=phonebook' are also acceptable. The reason they are not validated is that, as you know, ICU accepts any locale string as valid. You appear to have found a way to do some validation, but I would like to see that code. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers