pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Graeme <graeme@gemmill.name>
To: pgsql-general@lists.postgresql.org
Subject: pg_update and encoding
Date: Tue, 12 Sep 2023 12:49:57 +0100
Message-ID: <c8259d40-b44b-4a1c-9cfe-c843c7631280@gemmill.name> (raw)

Preparing to use pg_update, I used initdb to create the new pgsql/data, 
but pg_update has exited with

encodings for database "template1" do not match:  old "UTF8", new 
"SQL_ASCII"

Should I delete pgsql/data and re-create with initdb -E "UTF8"?

Thanks,

Graeme

view thread (3+ messages)  latest in thread

Message-ID: <c8259d40-b44b-4a1c-9cfe-c843c7631280@gemmill.name>
Permalink:  ../c8259d40-b44b-4a1c-9cfe-c843c7631280@gemmill.name/
Also on:    postgresql.org/message-id/c8259d40-b44b-4a1c-9cfe-c843c7631280@gemmill.name

 · 

reply

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: graeme@gemmill.name
  Subject: Re: pg_update and encoding
  In-Reply-To: <c8259d40-b44b-4a1c-9cfe-c843c7631280@gemmill.name>
  References: <c8259d40-b44b-4a1c-9cfe-c843c7631280@gemmill.name>

* 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