Different sort order btwn Linux and Windows

From: Doug Gorley <doug(dot)gorley(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Different sort order btwn Linux and Windows
Date: 2011-04-27 19:28:37
Message-ID: BANLkTi=ShjgWsQ+c40hmE4z8rNo8qZfFYw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm running the following SQL commands on a new PostgreSQL 9.0 database, one
on Linux, one on Windows.

create table i (j varchar(4));
insert into i (j) values ('A'), ('E'), ('<C P'), ('F');
select j from i order by j asc;

On the Windows server I get the following:

----
<C P
A
E
F
----

On the Linux server, I get this instead:

----
A
<C P
E
F
----

Can anyone tell me why the sort order would come out differently?

Thanks,
--
Doug Gorley | doug(dot)gorley(at)gmail(dot)com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jaime Casanova 2011-04-27 19:37:32 Re: [HACKERS] PostgreSQL Core Team
Previous Message Michael Glaesemann 2011-04-27 19:23:21 Re: PostgreSQL Core Team