Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation |
| Дата | |
| Msg-id | 555147.1660447264@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation (Peter Geoghegan <pg@bowt.ie>) |
| Ответы |
Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation
|
| Список | pgsql-bugs |
Peter Geoghegan <pg@bowt.ie> writes:
> I think that repalloc might even be mandatory. These buffers are used
> as caches that allow us to avoid repeat strxfrm()/strcoll() calls,
> which is quite a useful optimization. But we're not accounting for
> that here -- we're not invalidating the cache. We wouldn't have to
> bother with that if we just used repalloc().
Hmm, but if we're enlarging the buffer, doesn't that imply
a new input value? Seems like invalidation must occur anyway.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера