From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Thomas Kellerer <spam_eater(at)gmx(dot)net> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Specifying column level collations |
Date: | 2011-05-07 16:48:52 |
Message-ID: | 8892.1304786932@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Thomas Kellerer <spam_eater(at)gmx(dot)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');
I don't know how to find out exactly what locale names are recognized by
Windows, so can't help you much further than that.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2011-05-07 20:12:35 | Re: Specifying column level collations |
Previous Message | Lew | 2011-05-07 12:52:21 | Re: check constraint bug? |