"Yury Don" <[EMAIL PROTECTED]> writes: > Looks like string comparison operators ignore spaces isnside of string.
It's not wrong, it's just following the rules of the locale. You should initdb the database with LANG=C if you want plain ASCII sorting. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq