Bug #577: incorect sort using order by

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Bug #577: incorect sort using order by
Дата
Msg-id 200202080725.g187PPC29365@postgresql.org
обсуждение исходный текст
Ответы Re: Bug #577: incorect sort using order by  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Christophe RIMBAUD (christophe.rimbaud@bull.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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Bug #576: Can not compile IRIX + GCC
Следующее
От: Luis Amigo
Дата:
Сообщение: Re: Bug #576: Can not compile IRIX + GCC