Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [BUGS] BUG #3924: Create Database with another encoding as the encoding from postgres

From: Peter Eisentraut <peter_e(at)gmx.net>
Date: Sat Feb 02 2008 - 14:45:12 EST


Stefan Kunick wrote:
> I installed postgres with the encoding 1252. After this, i started the
> program createdb (createdb -E LATIN1 -O postgres -p 5555 -U postgres). The
> program stopped with the error message: createdb: database creation failed.
> Error: encoding LATIN1 does not match server's locale German_Germany.1252
> DETAIL: The server's LC_CTYPE setting requires encoding WIN1252.
>
> With the former version 8.2, i can create a database with other encoding

You could, but the result wouldn't have worked correctly. You need to pick locales and encodings that match. This was always true, but not it is enforced.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@postgresql.org so that your
       message can get through to the mailing list cleanly
Received on Sat Feb 2 14:46:52 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:58:50 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library