Re: Bug #577: incorect sort using order by

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: christophe(dot)rimbaud(at)bull(dot)net, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #577: incorect sort using order by
Date: 2002-02-08 16:09:50
Message-ID: 23838.1013184590@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> my question : why 'ACTIGINT' is after 'ACTI-CRE'. Under Oracle
> 'ACTIGINT' is after 'ACTI-SUP' that's better.

If you think that, you should be using C locale not whatever you are
using (perhaps en-US locale). Postgres sorts according to the rules
of the locale that the database was initialized in.

Unfortunately, you'll have to re-initdb to change the locale setting.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Hiroshi Inoue 2002-02-08 18:14:41 Re: [CYGWIN] resource leak in 7.2
Previous Message Jason Tishler 2002-02-08 11:59:59 Re: [BUGS] resource leak in 7.2