BUG #8306: Error in dbcreate comman - Mailing list pgsql-bugs

From ssuna@hebis.uni-frankfurt.de
Subject BUG #8306: Error in dbcreate comman
Date
Msg-id E1UycVN-0001RQ-Du@wrigleys.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8306
Logged by:          Suat
Email address:      ssuna@hebis.uni-frankfurt.de
PostgreSQL version: 9.2.4
Operating system:   solaris machine (5.10 Generic_142909-17 sun4v spar
Description:

Dear Experts,


I installed ((PostgreSQL) 8.1.19) on our solaris machine (5.10
Generic_142909-17 sun4v sparc SUNW,SPARC-Enterprise-T5120) for dspace
applikation.


But I get a error if I execute the commands:


pgres@zairicha:bin> ./createdb -U dspace -E UNICODE dspace


The error is below:


createdb: database creation failed: ERROR:  encoding "UTF8" does not match
locale "de_DE.ISO8859-1"
DETAIL:  The chosen LC_CTYPE setting requires encoding "LATIN1".




My locales are:
pgres@zairicha:/opt/hebis/downloads> locale
LANG=C.utf8
LC_CTYPE=de_DE.ISO8859-1
LC_NUMERIC=de_DE.ISO8859-1
LC_TIME=de_DE.ISO8859-1
LC_COLLATE=de_DE.ISO8859-1
LC_MONETARY=de_DE.ISO8859-1
LC_MESSAGES=de
LC_ALL=




Please can you tell me how I can solve the problen?


Best Regards,
Suat

pgsql-bugs by date:

Previous
From: Suat Suna
Date:
Subject: PostgreSQL error
Next
From: Alex Hunsaker
Date:
Subject: Re: Unable to handle error in plperl