Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5)
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) |
| Дата | |
| Msg-id | 19682.1458689175@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) (Peter Geoghegan <pg@heroku.com>) |
| Ответы |
Re: Missing rows with index scan when collation is not "C"
(PostgreSQL 9.5)
|
| Список | pgsql-bugs |
Peter Geoghegan <pg@heroku.com> writes:
> I now think that we have this backwards: This isn't a bug in glibc's
> strxfrm(); it's a bug in glibc's strcoll().
FWIW, the test program I just posted includes checks to see if the two
cases produce self-consistent sort orders. So far I've seen no evidence
that they don't; that is, strcoll() produces a consistent sort order,
and strxfrm() produces a consistent sort order, but not the same one.
That being the case, arguing about which one is wrong seems a bit
academic, not to mention well above my pay grade so far as the theoretical
behavior of locale-specific sort ordering is concerned.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера