Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 83563133740B for ; Tue, 9 Nov 2010 12:00:08 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 73425-06 for ; Tue, 9 Nov 2010 16:00:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mail.postgresql.org (Postfix) with SMTP id 408B21336B42 for ; Tue, 9 Nov 2010 12:00:00 -0400 (AST) Received: (qmail invoked by alias); 09 Nov 2010 15:59:58 -0000 Received: from mue-88-130-51-118.dsl.tropolys.de (EHLO [192.168.0.113]) [88.130.51.118] by mail.gmx.net (mp028) with SMTP; 09 Nov 2010 16:59:58 +0100 X-Authenticated: #14269776 X-Provags-ID: V01U2FsdGVkX18EloRSdd4EWlL9FuCemF9JLDuJqKaAnYNg0Q0nJw uyYQW7SWx9EPxe Message-ID: <4CD97004.7070403@gmx.net> Date: Tue, 09 Nov 2010 17:00:04 +0100 From: Andreas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: unexpected ORDER BY Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/13 X-Sequence-Number: 34751 Hi, I've got an PG 8.4 on a opensuse box running. The DB is unicode german. There is a text column I'd like to order by but as far as I see PG ignores special chars and uses only characters and numbers. E.g. I get : S&T C... S&T E... STP <-- ??? STP A <-- ??? S&T P... S&T R... Can I modify the SELECT or even better switch a global setting that PG uses all chars to sort?