Sort order is different on Windows and Linux

From: "Robert Wille" <a2om6sy02(at)sneakemail(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Sort order is different on Windows and Linux
Date: 2003-09-17 23:18:46
Message-ID: 007d01c37d72$0cce5b60$2664a8c0@zucchini
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have found that the sort order is different on Windows and Linux (same version of Postgres). On Windows, it sorts in what appears to be normal ASCII order. On Linux, lowercase comes before uppercase, and all non-alphanumerics appear to come before all alphanumerics. I really need it to sort on Linux the same as it does on Windows. The docs seem to imply that I can simply set the LANG environment variable to C to get an ASCII sort order, but that seem to make a difference. How do I change the sort order?

Thanks in advance.

Robert

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew L. Gould 2003-09-17 23:27:28 Re: High-volume shop uses PostgreSQL
Previous Message Dennis Gearon 2003-09-17 23:09:37 Re: High-volume shop uses PostgreSQL