Re: ORDER BY a string

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: phazon <phazon(dot)ml(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ORDER BY a string
Date: 2007-11-06 16:18:39
Message-ID: 21804.1194365919@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

phazon <phazon(dot)ml(at)gmail(dot)com> writes:
> I've "**" before the name in order to display them at first, but the 2
> chars "**" are ignored in the order by.

What's your lc_collate setting? In locales other than "C" this is not
at all unexpected.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message brian 2007-11-06 16:26:51 Re: Selecting all but a few fields in a query
Previous Message phazon 2007-11-06 16:09:08 ORDER BY a string