From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Andrus <kobruleht2@hot.ee>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore
Date: Sat, 28 Mar 2020 16:08:04 -0700
Message-ID: <ff63ec45-2539-dedc-747b-210937a2423b@aklaver.com> (raw)
In-Reply-To: <95D844CA8C2546429693F5040343B223@dell2>
References: <F4D04849032C4464B8FF17CB0F896F9E@dell2>
<774c7cfe-43ea-03a6-1c88-31f51a39fd4a@aklaver.com>
<95D844CA8C2546429693F5040343B223@dell2>
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.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, kobruleht2@hot.ee
Subject: Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore
In-Reply-To: <ff63ec45-2539-dedc-747b-210937a2423b@aklaver.com>
References: <F4D04849032C4464B8FF17CB0F896F9E@dell2> <774c7cfe-43ea-03a6-1c88-31f51a39fd4a@aklaver.com> <95D844CA8C2546429693F5040343B223@dell2> <ff63ec45-2539-dedc-747b-210937a2423b@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox