public inbox for [email protected]  
help / color / mirror / Atom feed
From: Steve T <[email protected]>
To: PostGreSQL <[email protected]>
Subject: database encoding migration from a pg_dumpall set
Date: Sat, 13 Aug 2022 16:10:10 +0100
Message-ID: <[email protected]> (raw)
References: <[email protected]>

Postgresql 14.3 Fedora 36

I have been meaning to move a few databases from an ISO encoding to UTF-8 for a while. I had taken a pg_dumpall dump of
the complete instance and then created a new instance with a UTF-8 encoding and imported the pg_dumpall. The databases
were all imported ok, but still show as LATIN9/ISO... - so presumably the restore from pg_dumpall takes the instruction
for the encoding from the dump records. 
Is there an official way for migrating database encodings?








view thread (3+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: database encoding migration from a pg_dumpall set
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox