Re: Issue on Varchar Ordering

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rodrigo Hjort" <rodrigo(dot)hjort(at)gmail(dot)com>
Cc: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Issue on Varchar Ordering
Date: 2006-03-29 17:14:10
Message-ID: 22930.1143652450@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Rodrigo Hjort" <rodrigo(dot)hjort(at)gmail(dot)com> writes:
> The fact is that I can't raise PostgreSQL with C encoding, as special
> characters are used on most tables.

You're confusing locale and encoding, which are two different (though
interrelated) things.

I suspect the right choice for you will be to use C locale with UTF8
encoding, or possibly one of the LATINn encodings.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2006-03-29 18:48:15 Index vacuum improvements
Previous Message Rodrigo Hjort 2006-03-29 17:02:10 Re: Issue on Varchar Ordering