Closed
Description
While trying to migrate a 9.6.11-alpine db to 13, I receive the following error:
connection to database failed: FATAL: database locale is incompatible with operating system
DETAIL: The database was initialized with LC_COLLATE "utf-8", which is not recognized by setlocale().
HINT: Recreate the database with another locale or install the missing locale.
Failure, exiting
This is the locale / collation of the old db:
CREATE DATABASE xx WITH TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'utf-8' LC_CTYPE = 'UTF-8';
Metadata
Metadata
Assignees
Labels
No labels