Re: case sensitive/insensitive confusion - Mailing list pgsql-sql

From Theodore Petrosky
Subject Re: case sensitive/insensitive confusion
Date
Msg-id 20050201124858.38440.qmail@web41006.mail.yahoo.com
Whole thread Raw
In response to Re: case sensitive/insensitive confusion  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: case sensitive/insensitive confusion
List pgsql-sql
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 


pgsql-sql by date:

Previous
From: Christoph Haller
Date:
Subject: Re: case sensitive/insensitive confusion
Next
From: Karl Denninger
Date:
Subject: Re: BLOBs vs BYTEA