Re: encoding and locale

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christian Traber <christian(at)traber-net(dot)de>
Cc: Postgresql-General list <pgsql-general(at)postgresql(dot)org>
Subject: Re: encoding and locale
Date: 2005-07-16 15:01:34
Message-ID: 25634.1121526094@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christian Traber <christian(at)traber-net(dot)de> writes:
> Now I know a I cannot use every lc_ctype with every encoding,
> but where can I find a list of valid encoding/locale combinations?

If there were a standardized way of finding that out, we'd long since
have made Postgres take advantage of it to prevent use of non-working
combinations. But there's not.

The best bet usually is to look at the output of "locale -a", and see
if you can figure out the naming convention used for the locales.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-07-16 15:07:18 Re: 7.3.4 dump/restore error
Previous Message Tom Lane 2005-07-16 14:46:59 Re: PostgreSQL select