| From: | pgsql-bugs(at)postgresql(dot)org |
|---|---|
| To: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Bug #577: incorect sort using order by |
| Date: | 2002-02-08 07:25:26 |
| Message-ID: | 200202080725.g187PPC29365@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Christophe RIMBAUD (christophe(dot)rimbaud(at)bull(dot)net) reports a bug with a severity of 2
The lower the number the more severe it is.
Short Description
incorect sort using order by
Long Description
I have a problem with the order by command.
The column is in CHAR,
for example :
table WAPI (wapinom CHAR(6));
select wapinom from wapi order by wapinom ;
wapinom
----------
ACTI-ACC
ACTI-CRE
ACTIGINT
ACTI-MOD
ACTI-SUP
ACTU-CRE
ACTUGINT
ACTU-INL
my question : why 'ACTIGINT' is after 'ACTI-CRE'. Under Oracle 'ACTIGINT' is after 'ACTI-SUP' that's better.
I'm about to transform a big piece of oracle code to postgres and this bug is very annoyance for me .
Thanks in advance
Chris
Sample Code
No file was uploaded with this report
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Luis Amigo | 2002-02-08 09:29:11 | Re: Bug #576: Can not compile IRIX + GCC |
| Previous Message | Bruce Momjian | 2002-02-08 04:53:39 | Re: Bug #576: Can not compile IRIX + GCC |