Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group