Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47 language tags. Should it?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47 language tags. Should it? |
| Дата | |
| Msg-id | 2893.1505856178@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47language tags. Should it? (Andreas Karlsson <andreas@proxel.se>) |
| Ответы |
Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47language tags. Should it?
|
| Список | pgsql-hackers |
Andreas Karlsson <andreas@proxel.se> writes:
> Hm, I like the idea but I see some issues.
> Enforcing the BCP47 seems like a good thing to me. I do not see any
> reason to allow input with syntax errors. The issue though is that we do
> not want to break people's databases when they upgrade to PostgreSQL 11.
> What if they have specified the locale in the old non-ICU format or they
> have a bogus value and we then error out on pg_upgrade or pg_restore?
Well, if PG10 shipped with that restriction in place then it wouldn't
be an issue ;-)
regards, tom lane
--
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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера