Re: Sort order with spaces?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Kristian Jörg <krjg(at)devo(dot)se>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Sort order with spaces?
Date: 2003-09-17 13:50:30
Message-ID: 200309171450.30382.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wednesday 17 September 2003 13:39, Kristian Jörg wrote:
> Kristian Jörg wrote:
> > Richard Huxton wrote:
> >>>
> >>>LUNDGREN
> >>>M L R
> >>>MACDOWELL
> >>>MUSCLE
> >>>
> >>>But in Postgres I get this order:
> >>>
> >>>LUNDGREN
> >>>MACDOWELL
> >>>M L R
> >>>MUSCLE
> >>

> Woops, a type above. My sql is of course:
> select * from mytable where normtext>= 'LU' order by normtext;

richtest=# select * from foo order by b;
a | b
---+-----------
1 | LUNDGREN
2 | M L R
3 | MACDOWELL
4 | MUSCLE
(4 rows)

LC_MESSAGES = 'C'
LC_MONETARY = 'C'
LC_NUMERIC = 'C'
LC_TIME = 'C'

Might be worth checking the release notes on the website to see if there's
anything mentioned.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2003-09-17 14:06:58 Re: Sort order with spaces?
Previous Message wireless 2003-09-17 12:50:31 how to get decimal to date form