Re: cyrillic and sort order (ORDER BY)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Mihail Marinov <liahim(at)bcci(dot)bg>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: cyrillic and sort order (ORDER BY)
Date: 2001-01-02 20:47:23
Message-ID: Pine.LNX.4.30.0101022143150.758-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mihail Marinov writes:

> My problem is that ORDER BY does not alphabetically order strings in
> proper way. Worst - it does sometimes work right but I can't find out
> exactly why. But after a while it stops until I rebuild and
> reconfigure.

You must have the same collation locale setting (LC_COLLATE, or LC_ALL as
default) when running initdb and when running postmaster. Changing the
setting in between will result in random and incorrect results and
database corruption.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message drevil 2001-01-02 20:50:22 Re: How passwords can be crypted in postgres?
Previous Message Len Morgan 2001-01-02 20:13:40 Re: Function TOP