Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 1881D632C92 for ; Mon, 11 May 2009 03:28:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 75005-02 for ; Mon, 11 May 2009 03:28:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mail.postgresql.org (Postfix) with ESMTP id 320376324E7 for ; Mon, 11 May 2009 03:28:52 -0300 (ADT) Received: from [192.168.178.23] (brln-4dba2fa0.pool.einsundeins.de [77.186.47.160]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1M3P0H41u8-0002CL; Mon, 11 May 2009 08:28:48 +0200 User-Agent: Microsoft-Entourage/11.4.0.080122 Date: Mon, 11 May 2009 08:28:45 +0200 Subject: Re: Distinct oddity From: Maximilian Tyrtania To: Alvaro Herrera CC: Message-ID: Thread-Topic: [SQL] Distinct oddity Thread-Index: AcnSAbwj+nwqGj30Ed6oSgAjMt4/tA== In-Reply-To: <20090510025822.GD5365@alvh.no-ip.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+tLcKWMep+mAvpodF/sfeRmCFo30FADvGjvjG AVO/+IA0xiu8Ff0jVwYq3VLsX5NXBv/nOvij0YQIM1C6QIeE6V MK8+71UwETB8LjtEqMS427gp1xevJDpvcbCts1MkbVG+DRy07f AHQ== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200905/46 X-Sequence-Number: 32538 am 10.05.2009 4:58 Uhr schrieb Alvaro Herrera unter alvherre@commandprompt.com: >>> and what locale are you running in? >> >> lc_collate | de_DE >> | Shows the collation order locale. >> lc_ctype | de_DE >> | Shows the character classification and case conversion locale. >> >> The encoding is UTF-8. > > Note that the de_DE locale uses Latin9 encoding, which is incompatible > with UTF8. Ah, good catch. > I'd try checking if the problem is reproducible in > de_DE.utf8 (you need to create a new database for testing, obviously). Wait a minute. I need to re- initdb with de_DE.UTF-8, don't I? > If it's not, then the incompatible locale definition is causing the > problem. I'll try that, thanks. M