Search Postgresql Archives

Re: order by text-type : whitespaces ignored??

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

 



peter pilsl wrote:

I just get my mind crossed here:

I do a simple select with order on a text-type. In my opinion entries with leading spaces should be either first (or maybe last) in the list.
But in my select the whitespace just seems to be ignored:

That'll be down to your locale settings. You'll need to re-initdb to change them I'm afraid. It's locale=C that you want.

--
  Richard Huxton
  Archonet Ltd


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux