Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1acVCY-0001x9-Dw for pgsql-admin@arkaria.postgresql.org; Sun, 06 Mar 2016 09:42:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1acVCW-0001Uw-UV for pgsql-admin@arkaria.postgresql.org; Sun, 06 Mar 2016 09:42:12 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1acVAr-0007zw-PX for pgsql-admin@postgresql.org; Sun, 06 Mar 2016 09:40:29 +0000 Received: from shopzeus.com ([87.229.70.149]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1acVAp-00038w-Ds for pgsql-admin@postgresql.org; Sun, 06 Mar 2016 09:40:28 +0000 Received: from [127.127.127.127] (localhost [127.127.127.127]) (Authenticated sender: gandalf) by shopzeus.com (Postfix) with ESMTPSA id A10B9889C486 for ; Sun, 6 Mar 2016 04:40:25 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopzeus.com; s=shopzeus_com; t=1457257225; bh=rO179dTlmA70cQoN9kLQuN1V0ApPzswUoH81qfieb/g=; h=Subject:To:References:From:Date:In-Reply-To:From; b=gJOSGWGQaxzIvnmBG+7vNlQb1+x1rprhI60EPGfP5bgmfR4qyj22M+P0gBa5rDLL4 JxV2K6yZNsrczjRUh1f6zlF3L8zgJlLX0F5LCfQqYB9jgifZvf5U2NnRNxDb2+cIZa G9OENbW6qKy/04mEKmLb/7nBMtIgzaeah/ayckwvzK+nh4jO4ElHpUMR7WyOmb9HYd +05VgOyNjba5vfyI7u/nSiAAODmonqf+M24MauQUm1gvjiHyoRbUmG3SBj3VUd8JEW iIQctZzh6yjt6E4bwpuqUvEiN0z2ete3GpnIigh3Qp4vVvww+r4i5sHX0KGGPYL+// zV81JqwgrrkEQ== Subject: Re: How to setup a good collation? To: pgsql-admin@postgresql.org References: <56DBF4B7.1050200@shopzeus.com> From: =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= Message-ID: <56DBFB0F.4080705@shopzeus.com> Date: Sun, 6 Mar 2016 10:40:31 +0100 MIME-Version: 1.0 In-Reply-To: <56DBF4B7.1050200@shopzeus.com> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -4.3 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org To answer my own question: it seems that the problem is not with postgresql but with the FreeBSD OS. FreeBSD does not support sorting by unicode characters, so I need to recompile the postgresql server with "use ICU for unicode collation" flag. 2016.03.06. 10:13 keltezéssel, Nagy László Zsolt írta: > Example database on a Unix system: > > CREATE DATABASE test > TEMPLATE = template0 > ENCODING = 'UTF8' > LC_COLLATE = 'hu_HU.UTF-8' > LC_CTYPE = 'hu_HU.UTF-8' > CONNECTION LIMIT = -1; -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin