could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore

From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: "pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore
Date: 2020-03-28 21:39:49
Message-ID: F4D04849032C4464B8FF17CB0F896F9E@dell2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

Postgres 12 database dump is created in Debian 10 using pg_dump .

Trying to restore it in Windows 10 using

pg_restore --clean --create --if-exists --dbname=postgres --jobs=8 --no-password
mydb.backup

produces strange message

pg_restore: WARNING: could not determine encoding for locale "et_EE.UTF-8":
codeset is "CPUTF-8"

How to fix this ?

Debian and Windows computer have same settings:

Latest Postgres 12 is used
OS and database locales are Estonian
Database encoding is UTF-8

Andrus.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-03-28 22:04:11 Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore
Previous Message Andres Freund 2020-03-28 18:29:41 Re: PG12 autovac issues