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

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Andrus <kobruleht2(at)hot(dot)ee>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore
Date: 2020-03-28 23:08:04
Message-ID: ff63ec45-2539-dedc-747b-210937a2423b@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/28/20 3:31 PM, Andrus wrote:
> Hi!
>
>> In the Debian Postgres instance in psql what does \l show for the
>> databases?
>
> #psql namm postgres
> psql (12.2 (Debian 12.2-2.pgdg100+1))
> Type "help" for help.
>
> namm=# \l namm
>                                  List of databases
> Name |   Owner    | Encoding |   Collate   |    Ctype    |     Access
> privileges
> ------+------------+----------+-------------+-------------+---------------------------
>
> namm | namm_owner | UTF8     | et_EE.UTF-8 | et_EE.UTF-8 | =Tc/namm_owner +
>      |            |          |             |             |
> namm_owner=CTc/namm_owner
> (1 row)
>
>> In the Windows 10 command prompt what does systeminfo show?
>

> System Locale:             et;Eesti
> Input Locale:              et;Eesti

Hmm, I was expecting to see et_EE though I will admit to not truly
understanding how Windows does locales.

I should have asked earlier, in the Postgres instance on Windows what
does \l show for template0?

>
> Andrus.
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2020-03-29 00:42:58 Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore
Previous Message Andrus 2020-03-28 22:31:45 Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore