Re: case sensitive/insensitive confusion

From: Theodore Petrosky <tedpet5(at)yahoo(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: case sensitive/insensitive confusion
Date: 2005-02-01 12:48:57
Message-ID: 20050201124858.38440.qmail@web41006.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Karl Denninger 2005-02-01 15:01:15 Re: BLOBs vs BYTEA
Previous Message Christoph Haller 2005-02-01 11:44:13 Re: case sensitive/insensitive confusion