From: Theodore Petrosky <tedpet5@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Re: case sensitive/insensitive confusion
Date: Tue, 1 Feb 2005 04:48:57 -0800 (PST)
Message-ID: <20050201124858.38440.qmail@web41006.mail.yahoo.com> (raw)
In-Reply-To: <200502011114.00969.peter_e@gmx.net>
I seem to have a problem with controlling the locale.
Mac os x, postgresql 8.0.1
./configure --with-rendezvous --enable-thread-safety
--enable-locale
but when I try:
initdb --locale=es_ES ~/testdb
I get:
The files belonging to this database system will be
owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale
es_ES.
initdb: could not find suitable encoding for locale
"es_ES"
Rerun initdb with the -E option.
Try "initdb --help" for more information.
Am I missing something in OS X, or is this a
postgresql issue, or a combination?
I even tried
initdb --locale=en_US ~/testdb
and I still get the same error....
I am actually looking based on a conversation with
someone in Portugal that can not figure it out and he
needs it.
Any help to pointers would be great...
Ted
--- Peter Eisentraut <peter_e@gmx.net> wrote:
> Christoph Haller wrote:
> > It seems to me under hpux the sort is done case
> sensitive,
> > as would one expect on SQL_ASCII encoding, whereas
> > under linux a case insensitive sort is done.
>
> The sort order depends entirely on the locale that
> you specify to initdb
> (not the encoding). Please check the documentation
> there.
>
> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose
> an index scan if your
> joining column's datatypes do not match
>
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
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: pgsql-sql@postgresql.org
Cc: tedpet5@yahoo.com
Subject: Re: case sensitive/insensitive confusion
In-Reply-To: <20050201124858.38440.qmail@web41006.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox