setting the environment locale - linux, windows

From: "Tomi NA" <hefest(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: setting the environment locale - linux, windows
Date: 2006-04-20 22:49:31
Message-ID: d487eb8e0604201549j18f99673hb230d5b1ef4bd683@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

This is probably somewhat offtopic, but it does relate to postgresql so...
Problem summary: I have a UTF-8 encoded database running on linux on
which upper() and lower() string functions ignore locale specific
characters.
To make things a bit more interesting, the development machines
(including the db server) are linux based, while the target servers
are a mixture of linux and windows servers.

I need to compare strings case insensitive. Proper collation would be
a plus, but I could live without it for the time beeing.
How does one set the e.g. german locale in linux? Or in windows? Is it
given as a parameter of initdb and frozen aftewards or does the
postmaster look to it's environment for this information (LC_ALL,
LC_CTYPE variables)?
Are there plans to enable assigning locale at the database level?

Tomislav

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Teodor Sigaev 2006-04-20 23:55:58 Re: full text search: the concept of a "word"
Previous Message Tomi NA 2006-04-20 22:20:22 full text search: the concept of a "word"