Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi4GR-0007Kk-DH for pgsql-bugs@arkaria.postgresql.org; Wed, 07 May 2014 16:00:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wi4GQ-0003Je-Sm for pgsql-bugs@arkaria.postgresql.org; Wed, 07 May 2014 16:00:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi4GQ-0003Iz-31 for pgsql-bugs@postgresql.org; Wed, 07 May 2014 16:00:10 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wi4GJ-0007Do-2Q for pgsql-bugs@postgresql.org; Wed, 07 May 2014 16:00:09 +0000 MIME-Version: 1.0 Subject: BUG #10255: CREATE COLLATION bug on 9.4 To: pgsql-bugs@postgresql.org From: emanuel.calvo@2ndquadrant.com Date: Wed, 07 May 2014 15:59:18 +0000 Message-ID: <20140507155918.1397.98656@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 10255 Logged by: Emanuel Email address: emanuel.calvo@2ndquadrant.com PostgreSQL version: Unsupported/Unknown Operating system: Non related Description: When trying to create COLLATIONS, I'm facing some issues: --- BUG REPORT postgres=# CREATE COLLATION le_english (LOCALE = "en_US.utf8"); ERROR: encoding "LATIN1" does not match locale "en_US.utf8" DETAIL: The chosen LC_CTYPE setting requires encoding "UTF8". Ok, it requires LC_CTYPE. Added it, but: postgres=# CREATE COLLATION le_english (LOCALE = "en_US.utf8", LC_CTYPE = "UTF8"); ERROR: conflicting or redundant options Oh, wait a minute. Something 's wrong with the locale. Rewritten with LC_COLLATE: postgres=# CREATE COLLATION le_english (LC_COLLATE = "UTF8", LC_CTYPE = "UTF8"); ERROR: could not create locale "UTF8": Success This bug was found on 9.4dev. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs