Re: Per-column collation, proof of concept

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Per-column collation, proof of concept
Date: 2010-08-17 06:16:14
Message-ID: AANLkTimnD2DbS71VjBdA4sgKRrfKJV8c3Gke7qSWGJxG@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 16, 2010 at 10:56 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> On lör, 2010-08-14 at 02:05 -0500, Jaime Casanova wrote:
>
>> BTW, why the double quotes?
>
> Because the name contains upper case letters?
>

why everything seems so obvious once someone else state it? :)

>> sorry to state the obvious but this doesn't work on windows, does it?
>
> Probably not, but hopefully there is some similar API that could be used
> on Windows.
>

good luck with that! ;)
seriously, maybe this helps
http://msdn.microsoft.com/en-us/library/system.windows.forms.inputlanguage.installedinputlanguages.aspx
but probably you will need to write the code yourself... at least i
don't think there is something like "locale -a"

>> and for some reason it also didn't work on a centos 5 (this error
>> ocurred when initdb'ing)
>> """
>> loading system objects' descriptions ... ok
>> creating collations ...FATAL:  invalid byte sequence for encoding
>> "UTF8": 0xe56c09
>> CONTEXT:  COPY tmp_pg_collation, line 86
>> STATEMENT:  COPY tmp_pg_collation FROM
>> E'/usr/local/pgsql/9.1/share/locales.txt';
>> """
>
> Hmm, what is in that file on that line?
>
>

bokmål ISO-8859-1

(i'm attaching the locales.txt just in case)

--
Jaime Casanova         www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL

Attachment Content-Type Size
locales.txt text/plain 12.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2010-08-17 07:42:57 Re: Writeable CTEs Desgin Doc on Wiki
Previous Message Peter Eisentraut 2010-08-17 05:19:47 Progress indication prototype