Re: Changing locale

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ulrich Wisser <liste(at)publisher(dot)de>
Cc: "[ADMIN]" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Changing locale
Date: 2005-12-21 16:13:45
Message-ID: 13730.1135181625@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ulrich Wisser <liste(at)publisher(dot)de> writes:
> after Tom's last hint I checked the locale of my installation. With a
> test installation with locale C all my problem scripts worked. Now I
> wonder what will happen if I dump my whole database, reinitialize with
> locale C and reload my data. Will this have some impact on my character
> data even if I choose the same encoding (SQL_ASCII) as before?

With locale C you can use any encoding you want; the impact will be that
sort order of text comparison is just by raw bytes, and upper/lower case
functions will only deal with plain ASCII A-Z/a-z.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Donald Fraser 2005-12-21 16:15:35 Re: WITH SYSID feature dropped
Previous Message Tom Lane 2005-12-21 15:19:05 Re: PostgreSQL 7.4.10 hanging on delete