Re: BUG #17362: Error "could not find block containing chunk" when using index with icu collation on CentOS 7

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #17362: Error "could not find block containing chunk" when using index with icu collation on CentOS 7
Дата
Msg-id 3869d444-2f89-f157-318d-a71ed712dcb7@enterprisedb.com
обсуждение исходный текст
Ответ на Re: BUG #17362: Error "could not find block containing chunk" when using index with icu collation on CentOS 7  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: BUG #17362: Error "could not find block containing chunk" when using index with icu collation on CentOS 7  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-bugs
On 11.01.22 23:19, Peter Geoghegan wrote:
> On Tue, Jan 11, 2022 at 3:16 AM PG Bug reporting form
> <noreply@postgresql.org> wrote:
>> When I query a table containing certain Unicode data, using an index that
>> has certain collation, I get error message "could not find block containing
>> chunk". This is fully reproducible on CentOS 7 using the official RPM. (I
>> could not reproduce this on Oracle Linux 8, though):
> 
> It looks like you're probably not using utf8 as your database
> encoding, based on the stacktrace -- even though I would expect that
> on your ICU version. What does "show server_encoding;" show you when
> run from psql?
> 
> My guess is that you can temporarily work around the bug (which looks
> like a bug in our !HAVE_UCOL_STRCOLLUTF8 ICU support) by making sure
> to use UTF-8 as the server encoding.

It looks like the reporter's system is rhel7, which does not have 
HAVE_UCOL_STRCOLLUTF8, so it will use the other code independent of the 
encoding.

There could very well be some subtle memory counting bug or similar in 
icu_to_uchar() perhaps.  Needs more analysis.



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: BUG #17365: Error: redefinition of 'stat' in win32_port.h when including postgres.h
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #17362: Error "could not find block containing chunk" when using index with icu collation on CentOS 7