Re: [ADMIN] Creating a database with LC_COLLATE tr_TR.UTF-8 - Mailing list pgsql-admin

From Ertan Küçükoğlu
Subject Re: [ADMIN] Creating a database with LC_COLLATE tr_TR.UTF-8
Date
Msg-id 01ba01d262ae$3e95c540$bbc14fc0$@1nar.com.tr
Whole thread Raw
In response to Re: [ADMIN] Creating a database with LC_COLLATE tr_TR.UTF-8  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Dear Tom,

Your suggestion worked just fine. Thanks.



-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Tom Lane
Sent: Friday, December 30, 2016 5:53 PM
To: Ertan Küçükoğlu <ertan.kucukoglu@1nar.com.tr>
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Creating a database with LC_COLLATE tr_TR.UTF-8

=?iso-8859-9?B?RXJ0YW4gS/zn/Gtv8Gx1?= <ertan.kucukoglu@1nar.com.tr> writes:
> I just installed PostgreSQL 9.6.1 64bit on Windows 10 64bit OS.

On Windows you'd have to use Windows' locale names.  My first guess would've
been that those are completely unlike anybody else's, but some googling
suggests that "tr-TR" (dash not underscore) will work:

https://msdn.microsoft.com/en-us/library/windows/desktop/dd373814(v=vs.85).a
spx

But the easy answer is to look into the pg_collation system catalog and see
what names are installed.

            regards, tom lane


--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make
changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



pgsql-admin by date:

Previous
From: Samed YILDIRIM
Date:
Subject: Re: [ADMIN] Creating a database with LC_COLLATE tr_TR.UTF-8
Next
From: Ertan Küçükoğlu
Date:
Subject: Re: [ADMIN] Creating a database with LC_COLLATE tr_TR.UTF-8