Re: Character collating order - Mailing list pgsql-novice

From Tom Lane
Subject Re: Character collating order
Date
Msg-id 25482.994189710@sss.pgh.pa.us
Whole thread Raw
In response to Character collating order  (Allan Engelhardt <allane@cybaea.com>)
List pgsql-novice
Allan Engelhardt <allane@cybaea.com> writes:
> I'm using the SQL_ASCII encoding, and un-setting the LANG environment
> variable (which is the only locale variable set for the account; it
> defaults to en_US) for postgres when starting postmaster does not fix
> it.

In 7.1, collation is determined by the locale variables seen at initdb
time.  You probably need to re-initdb with LANG=C.  Try
contrib/pg_controldata to verify the guess that the database's locale
is not C ...

            regards, tom lane

pgsql-novice by date:

Previous
From: Allan Engelhardt
Date:
Subject: Too much money...: more i18n blues
Next
From: Allan Engelhardt
Date:
Subject: Re: Regression on 7.1.2 fails 17/76 - is it up to date?