| From: | "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> |
|---|---|
| To: | "Blanco, Jose" <blancoj(at)umich(dot)edu> |
| Cc: | <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: Oder by not working |
| Date: | 2008-08-08 06:05:44 |
| Message-ID: | 489BE238.5030405@enterprisedb.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
As Tom pointed out, the order depends on the locale.
Blanco, Jose wrote:
> So is there no way to make oder by work with names?
>
> -----Original Message-----
> From: Heikki Linnakangas [mailto:heikki(at)enterprisedb(dot)com]
> Sent: Thursday, August 07, 2008 3:00 AM
> To: Blanco, Jose
> Cc: pgsql-bugs(at)postgresql(dot)org
> Subject: Re: [BUGS] Oder by not working
>
> Heikki Linnakangas wrote:
>> Unlike on some systems, in PostgreSQL "ORDER BY 1" means order by the
>> constant value "1", not the first column. Try "ORDER BY name".
>
> Oh, that's of course not correct at all. "ORDER BY 1" does indeed mean
> order by first column. I don't know what I was thinking,
>
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ismael Ciordia, Openbravo | 2008-08-08 10:16:33 | Re: BUG #4167: When generating UUID using UUID-OSSP module, UUIDs are not unique on Windows |
| Previous Message | Gregory Stark | 2008-08-07 19:59:35 | Re: Hmm, nodeUnique doesn't really support backwards scan too well |