Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47language tags. Should it?
| От | Peter Eisentraut |
|---|---|
| Тема | Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47language tags. Should it? |
| Дата | |
| Msg-id | 7c7ec999-2615-d661-1d06-c04f8a2f9428@2ndquadrant.com обсуждение исходный текст |
| Ответ на | [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47 language tags. Should it? (Peter Geoghegan <pg@bowt.ie>) |
| Ответы |
Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47language tags. Should it?
|
| Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: