Re: B-tree Index corruption
От | Tom Lane |
---|---|
Тема | Re: B-tree Index corruption |
Дата | |
Msg-id | 1317056.1700493394@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | B-tree Index corruption (Filip Sedlák <filip@sedlakovi.org>) |
Ответы |
Re: B-tree Index corruption
|
Список | pgsql-bugs |
=?UTF-8?Q?Filip_Sedl=C3=A1k?= <filip@sedlakovi.org> writes: > We're on version 15.3 and I see some index misbehaviour fixed in 15.5 > but nothing on btree over text values. I saw some posts about glibc > upgrade changing collation rules but I don't think it's our case because > we see it with plain ASCII values. Sadly, you're wrong about that; see the example at https://wiki.postgresql.org/wiki/Locale_data_changes#Testing_collation If you did an OS upgrade across a glibc collation change, it's best to assume all your indexes on textual columns are corrupt and REINDEX them. > More importantly, we last upgraded > the major OS version in June but I was able to find a row missing from > the index that was inserted a few weeks ago. It can take awhile before the results of inconsistent sorting order become obvious, but the state of the index will progressively degrade as new entries get inserted into the wrong subtree. regards, tom lane
В списке pgsql-bugs по дате отправления: