Re: Problems with unique constraints

Поиск
Список
Период
Сортировка
Искать
От
Holger Jakobs
Тема
Re: Problems with unique constraints
Дата
Msg-id
47693153-3704-d084-fded-62ff16dadbf0@jakobs.com
Ответ на
Список
Дерево обсуждения
Connection Taking time to authentication of database Vivek Gadge <vvkgadge56@gmail.com>
Re: Connection Taking time to authentication of database Laurenz Albe <laurenz.albe@cybertec.at>
Problems with unique constraints Massimo Ortensi <mortensi@unimaticaspa.it>
Re: Problems with unique constraints Erik Wienhold <ewie@ewie.name>
Re: Problems with unique constraints Massimo Ortensi <mortensi@unimaticaspa.it>
Re: Problems with unique constraints Erik Wienhold <ewie@ewie.name>
Re: Problems with unique constraints Massimo Ortensi <mortensi@unimaticaspa.it>
Re: Problems with unique constraints Holger Jakobs <holger@jakobs.com>
Re: Problems with unique constraints Scott Ribe <scott_ribe@elevated-dev.com>
Re: Problems with unique constraints Laurenz Albe <laurenz.albe@cybertec.at>
Re: Connection Taking time to authentication of database Samed YILDIRIM <samed@reddoc.net>


Am 26.01.23 um 12:52 schrieb Massimo Ortensi:

we had OS upgrades, but with the same locale.

Is there any chance to avoid rebuilding of all indexes/constraints by checking the correctness of indexes ?

Massimo Ortensi - Responsabile ICT


Via Cristoforo Colombo, 21 - 40131, Bologna 
Tel.  051 4195069
Cell.  3351092560


mortensi@unimaticaspa.it

In case of a change in the locale properties - albeit the name of the locale remained the same - index corruption is possible.

This has been reported on RedHat platforms. The reaction of the PostgreSQL project was to incorporate the locale libraries by ICU. They can be used on demand. If they change, the database server will automatically reindex if necessary.

If something in the OS libraries changes, the database server won't be informed.

When indexes are corrupt (and data are fine), the best solution is to reindex all indexes over varchar and text columns.

Kind Regards,

Holger


-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012
В списке pgsql-admin по дате отправления
От: Erik Wienhold
Дата:
От: Scott Ribe
Дата:
FAQ