Re: Creating a database with LC_COLLATE tr_TR.UTF-8

From: Ertan Küçükoğlu <ertan(dot)kucukoglu(at)1nar(dot)com(dot)tr>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Creating a database with LC_COLLATE tr_TR.UTF-8
Date: 2016-12-30 15:06:05
Message-ID: 01ba01d262ae$3e95c540$bbc14fc0$@1nar.com.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Dear Tom,

Your suggestion worked just fine. Thanks.

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

=?iso-8859-9?B?RXJ0YW4gS/zn/Gtv8Gx1?= <ertan(dot)kucukoglu(at)1nar(dot)com(dot)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(at)postgresql(dot)org) To make
changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ertan Küçükoğlu 2016-12-30 15:13:47 Re: Creating a database with LC_COLLATE tr_TR.UTF-8
Previous Message Samed YILDIRIM 2016-12-30 15:00:30 Re: Creating a database with LC_COLLATE tr_TR.UTF-8