Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

collation "case_insensitive" has version mismatch

20 views
Skip to first unread message

Maciej Browarski

unread,
Oct 5, 2022, 11:27:51 AM10/5/22
to
Cześć,
Mam serwer master na Ubuntu 16 z postgreSQL 12, robię replikację na serwer slave Ubuntu 20 z postgreSQL 12. Replikacja działa, widzę dane na slave, niestety mam jedną kolumnę zdefiniowaną jako:
name character varying(10) COLLATE public.case_insensitive
collate zrobione jako:
CREATE COLLATION public.case_insensitive (provider = icu, deterministic = false, locale = 'und-u-ks-level2');

niestety, otrzymuję błąd przy selectach:
WARNING: collation "case_insensitive" has version mismatch
DETAIL: The collation in the database was created using version 153.56, but the operating system provides version 153.14.
HINT: Rebuild all objects affected by this collation and run ALTER COLLATION public.case_insensitive REFRESH VERSION, or build PostgreSQL with the right library version.

Czy to jest kwestia ICU (na ubuntu 16: libicu55, na ubuntu 20: libicu66) czy jakieś brakującego pliku z definicjami?

Ktoś może wie, jak wyciągnąć wersje tych collation (153.14 i 153.56) z linux?

Pozdrawiam
0 new messages