Re: Sort order confusion - Mailing list pgsql-general

From Tom Lane
Subject Re: Sort order confusion
Date
Msg-id 20452.1076033294@sss.pgh.pa.us
Whole thread Raw
In response to Re: Sort order confusion  (Steve Crawford <scrawford@pinpointresearch.com>)
Responses Re: Sort order confusion  (Steve Crawford <scrawford@pinpointresearch.com>)
List pgsql-general
Steve Crawford <scrawford@pinpointresearch.com> writes:
> Not exactly. I _DO_ want it in ASCII character set order which
> includes spaces (0x20) sorting ahead of digits (0x30 - 0x39). This is
> not what is happening. The first sort is some SQL sort order that
> seems to ignore certain characters.

Sounds to me like you've got the database in a non-C locale.  See past
discussions ...

            regards, tom lane

pgsql-general by date:

Previous
From: Jenny Zhang
Date:
Subject: pgsql 7.4.1 copy - end-of-copy marker corrupt
Next
From: "Joshua D. Drake"
Date:
Subject: Re: newbie question... how do I get table structure?