pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-sql@postgresql.org
Subject: Re: Specifying column level collations
Date: Sat, 07 May 2011 22:12:35 +0200
Message-ID: <iq493a$5ds$1@dough.gmane.org> (raw)
In-Reply-To: <8892.1304786932@sss.pgh.pa.us>
References: <iq39rc$8sl$1@dough.gmane.org>
	<8892.1304786932@sss.pgh.pa.us>

Tom Lane wrote on 07.05.2011 18:48:
> Thomas Kellerer<spam_eater@gmx.net>  writes:
>> My database is initialized as follows:
>
>> postgres=# select version();
>>                               version
>> ----------------------------------------------------------------
>>    PostgreSQL 9.1beta1, compiled by Visual C++ build 1500, 32-bit
>> (1 row)
>
> I gather this is on Windows.
>
> Windows has its own notion of locale names, which look like this:
>
>>    lc_collate      | German_Germany.1252
>
> rather than the "de_DE" type of convention that's used by every other
> platform on the planet.  There is not yet support in initdb for
> pre-populating pg_collation with Windows-style entries, so you will
> have to create your own entries.  Presumably this would work for you,
> for instance:
>
> CREATE COLLATION german (locale='German_Germany.1252');
>

Ah! That did it. Thanks a lot.

Regards
Thomas




view thread (5+ messages)

Message-ID: <iq493a$5ds$1@dough.gmane.org>
Permalink:  ../iq493a$5ds$1@dough.gmane.org/
Also on:    postgresql.org/message-id/iq493a$5ds$1@dough.gmane.org

 · 

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: spam_eater@gmx.net
  Subject: Re: Specifying column level collations
  In-Reply-To: <iq493a$5ds$1@dough.gmane.org>

* 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