How to restore a SQL-ASCII encoded database to a new UTF-8 db?
От
Postgres User
Тема
How to restore a SQL-ASCII encoded database to a new UTF-8 db?
Дата
Msg-id
b88c3460905211927x78aa6bd3q65a52df345c3d3b@mail.gmail.com
Список
Дерево обсуждения
How to restore a SQL-ASCII encoded database to a new UTF-8 db? Postgres User <postgres.developer@gmail.com>
Re: How to restore a SQL-ASCII encoded database to a new
UTF-8 db? Tommy Gildseth <tommy.gildseth@usit.uio.no>
Re: How to restore a SQL-ASCII encoded database to a new UTF-8 db? skmanji <skmanji@manji.org>
Re: How to restore a SQL-ASCII encoded database to a new UTF-8 db? "Albe Laurenz" <laurenz.albe@wien.gv.at>
Hi, I have a database that was created with SQL-ASCII encoding (unfortunately). I ran pg_restore to load the struct and data into a new database with UTF-8 encoding but no surprise- I'm seeing this error for a number of tables: pg_restore: [archiver (db)] COPY failed: ERROR: invalid byte sequence for encod ing "UTF8" Any idea on how I can copy the data between these databases without any data loss? For some reason I thought that a conversion to Unicode would be easy. Thanks
В списке pgsql-general по дате отправления