| От | Jeff Davis |
|---|---|
| Тема | Re: Order changes in PG16 since ICU introduction |
| Дата | |
| Msg-id | 765286f264b138afdb11970bbaf57e7fdc4248eb.camel@j-davis.com обсуждение исходный текст |
| Ответ на | Order changes in PG16 since ICU introduction ("Regina Obe" <lr@pcorp.us>) |
| Список | pgsql-hackers |
On Fri, 2023-04-21 at 11:27 -0400, Regina Obe wrote:
> A couple of days ago, our PostGIS PG16 bots started failing with
> order
> changes in text.
> We have our tests set to locale=c
Are you sure it's still using the C locale? The results seem to be
explainable if the locale switched from "C" to "en-US-x-icu":
The results of the following are the same in v15 and v16:
select 'RM(25)/nodes|+|21|1' collate "C" < 'RM(25)/nodes|-|21|' collate
"C"; -- true
select 'RM(25)/nodes|+|21|1' collate "en-US-x-icu" < 'RM(25)/nodes|-
|21|' collate "en-US-x-icu"; -- false
I suspect when the initdb and configure defaults changed from libc to
ICU, then your locale changed.
Regards,
Jeff Davis
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера