From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Paul Smith <paul@pscs.co.uk>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Encoding error during database restore
Date: Fri, 05 Nov 2021 06:14:54 +0100
Message-ID: <631ef09ca7455fec3c26d1dd914a71b669793ba5.camel@cybertec.at> (raw)
In-Reply-To: <9ca189ac-7a0a-2594-fb8d-c346443a630f@pscs.co.uk>
References: <MWHPR0201MB3594D4A547E6E595C400BC3FC38C9@MWHPR0201MB3594.namprd02.prod.outlook.com>
<9ca189ac-7a0a-2594-fb8d-c346443a630f@pscs.co.uk>
On Thu, 2021-11-04 at 15:58 +0000, Paul Smith wrote:
> On 03/11/2021 21:03, Marc Fromm wrote:
> > Is there an alternate way to set --locale=C using the “postgresql-setup --initdb --unit postgresql” command?
>
> have you tried using 'SQL_ASCII' instead of 'C' for the locale?
That is very bad advice. Never use SQL_ASCII!
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: laurenz.albe@cybertec.at, paul@pscs.co.uk, pgsql-admin@lists.postgresql.org
Subject: Re: Encoding error during database restore
In-Reply-To: <631ef09ca7455fec3c26d1dd914a71b669793ba5.camel@cybertec.at>
* 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