Re: encoding problem when creating a database
От | A. Kretschmer |
---|---|
Тема | Re: encoding problem when creating a database |
Дата | |
Msg-id | 20080702140118.GB20209@a-kretschmer.de обсуждение исходный текст |
Ответ на | encoding problem when creating a database ("A B" <gentosaker@gmail.com>) |
Ответы |
Re: encoding problem when creating a database
|
Список | pgsql-novice |
am Wed, dem 02.07.2008, um 15:52:23 +0200 mailte A B folgendes: > I get this message when it fails to create a new database > > encoding UTF8 does not match server's locale sv_SE.iso88591 > > when trying to create a database with the createdb command and the parameter > " -E UTF8" You have created the db-cluster with sv_SE.iso88591. Because of this, you can't now create a db with an incompatible locale. > > I'm not sure what to change here. > Any good ideas? Make a full database dump, drop the db-cluster, recreate it with locale UTF8 and restore your dump. Regards, Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
В списке pgsql-novice по дате отправления: