pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: the6campbells <the6campbells@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: problems with changing the case of turkish characters
Date: Mon, 7 Dec 2009 16:28:03 -0500
Message-ID: <22431f1b0912071328l6d40cd2dpaf517ff448179287@mail.gmail.com> (raw)
In-Reply-To: <22431f1b0912071320i3adfede7qe6dc8b22f2ea0f4f@mail.gmail.com>
References: <22431f1b0912070912p10c3191flaab6cee97e5ab63f@mail.gmail.com>
	<6882.1260206888@sss.pgh.pa.us>
	<22431f1b0912071320i3adfede7qe6dc8b22f2ea0f4f@mail.gmail.com>

to clarify. just trying to ensure I understand what PG 8.4 and 8.3 provide
where you may have data from alternate languages where ideally you'd like
them in the same table in the same database etc.

create table T ( c1 char( ...), c2 char (...) ... ) where c1 may contain
thai, c2 korean, c3 turkish etc names
vs
create table TKO (c1 char(...)), create table TTH (c1 char (...))
vs
different databases etc



On Mon, Dec 7, 2009 at 4:20 PM, the6campbells <the6campbells@gmail.com>wrote:

> so where would I define something akin to what I can do in DB2 LUW where
> collate using system means to sort by the codeset. ie. without english,
> united states in LC_COLLATE.
>
> USING CODESET UTF-8 TERRITORY US COLLATE USING SYSTEM
>
>
>
>
> On Mon, Dec 7, 2009 at 12:28 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
>> the6campbells <the6campbells@gmail.com> writes:
>> > Just want to clarify if there is something I've overlooked or if this is
>> a
>> > known issue in PG 8.4 and 8.3
>>
>> > CREATE DATABASE test
>> >   WITH OWNER = postgres
>> >        ENCODING = 'UTF8'
>> >        LC_COLLATE = 'English, United States, UTF-8'
>> >        LC_CTYPE = 'English, United States, UTF-8'
>>
>> Not sure why you'd be expecting an English locale to follow Turkish
>> case-changing rules.
>>
>>                        regards, tom lane
>>
>
>

view thread (4+ messages)

Message-ID: <22431f1b0912071328l6d40cd2dpaf517ff448179287@mail.gmail.com>
Permalink:  ../22431f1b0912071328l6d40cd2dpaf517ff448179287@mail.gmail.com/
Also on:    postgresql.org/message-id/22431f1b0912071328l6d40cd2dpaf517ff448179287@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: the6campbells@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: problems with changing the case of turkish characters
  In-Reply-To: <22431f1b0912071328l6d40cd2dpaf517ff448179287@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox