Re: Problem in order by

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 11 Apr 2005, [iso-8859-1] Reuly Bússolo Mendes wrote:

> In the Cygwin, the return is correct:
>
>                        prodes
> ----------------------------------------------------
>  TELHA FRANCESA CAMBORIU
>  TELHA PORTUGUESA SAO CRISTOVAO
>  TELHA ROMANA LEONEL PEREIRA
>  TELHA TRANSPARENTE FRANCESA
>  TELHA TRANSPARENTE PORTUGUESA
>  TELHA TRANSPARENTE ROMANA
>  TELHA ZINCO 1 1/2 P/POSTE TELHADO
>  TELHAO FRANCES SAO CRISTOVAO                    *
>  TELHAO ROMANO SAO CRISTOVAO-GOIVA      *
>
>
> But in Linux the return is:
>
>                        prodes
> ----------------------------------------------------
>  TELHA FRANCESA CAMBORIU
>  TELHAO FRANCES SAO CRISTOVAO                    *
>  TELHAO ROMANO SAO CRISTOVAO-GOIVA      *
>  TELHA PORTUGUESA SAO CRISTOVAO
>  TELHA ROMANA LEONEL PEREIRA
>  TELHA TRANSPARENTE FRANCESA
>  TELHA TRANSPARENTE PORTUGUESA
>  TELHA TRANSPARENTE ROMANA
>  TELHA ZINCO 1 1/2 P/POSTE TELHADO
>
> I already executed vacuumbd and reindex database but nothing.
>
> Somebody could help me?

This probably is because you have a different collation set on the redhat
box. If you are using something other than "C" locale, the ordering on the
redhat box seems reasonable given that most locales ignore spaces for
their first pass, so 'TELHAO' < 'TELHA P' for example. If you want byte
ordering sorting, you can initdb in "C" locale.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux