Re: How to add new Collation language

From: rob stone <floriparob(at)gmail(dot)com>
To: Rob Northcott <Rob(dot)Northcott(at)compilator(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to add new Collation language
Date: 2017-09-14 12:38:21
Message-ID: 1505392701.3727.1.camel@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2017-09-14 at 11:30 +0000, Rob Northcott wrote:
> How can I add a collation language to a Postgres server?
> Specifically, I want to create a new database with collation of
> English_United Kingdom.1252 but the only options are C, Posix and
> United States.
> Even if I select United Kingdom as the locale when installing
> Postgres I still only have United States.
>
> Am I missing something or is there a way to add the United Kingdom
> collation?
>
> This is Postgres 9.6 on Windows server 2012. The server is Swedish,
> and my user login is set to UK.

Hello,

initdb --locale=en_GB.UTF-8 . . . plus other init options as required.

HTH,
Rob

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Frank Millman 2017-09-14 12:59:56 Re: a JOIN to a VIEW seems slow
Previous Message Pavel Stehule 2017-09-14 12:03:51 Re: a JOIN to a VIEW seems slow