🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.bazy-danych
1 messages
1 total messages Started by Maciej Browarski Wed, 05 Oct 2022 08:27
collation "case_insensitive" has version mismatch
#188714
Author: Maciej Browarski
Date: Wed, 05 Oct 2022 08:27
24 lines
1119 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads