pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedHow may I set LC_COLLATE and LC_CTYPE to Russian_Russia.1251 on Fedora Core Linux?
2+ messages / 2 participants
[nested] [flat]
* How may I set LC_COLLATE and LC_CTYPE to Russian_Russia.1251 on Fedora Core Linux?
@ 2005-10-02 04:12 Петров Р.В. <roman@fpm.ami.nstu.ru>
2005-10-03 08:43 ` Re: How may I set LC_COLLATE and LC_CTYPE to Russian_Russia.1251 on Fedora Core Linux? Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 2+ messages in thread
From: Петров Р.В. @ 2005-10-02 04:12 UTC (permalink / raw)
To: pgsql-admin
Hello!
When I install Postgresql 8.0.3 on my Windows server, I set LC_COLLATE
and LC_CTYPE to Russian_Russia.1251 via install process.
But when I install Postgresql server on Fedora Core 4 Linux, I can't
set LC_COLLATE and LC_CTYPE to Russian_Russia.1251. Maximum, that I
may set, is ru_RU.KOI8-R.
What I need to set regional setting to Russian_Russia.1251 ?
I seek all docs about Postgresql, but can't find anything about
Russian_Russia.1251....
My server has this locales:
locale -a |grep ru
ru_RU
ru_RU.iso88595
ru_RU.koi8r
ru_RU.utf8
russian
ru_UA
ru_UA.koi8u
ru_UA.utf8
With best regards
Roman
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: How may I set LC_COLLATE and LC_CTYPE to Russian_Russia.1251 on Fedora Core Linux?
2005-10-02 04:12 How may I set LC_COLLATE and LC_CTYPE to Russian_Russia.1251 on Fedora Core Linux? Петров Р.В. <roman@fpm.ami.nstu.ru>
@ 2005-10-03 08:43 ` Peter Eisentraut <peter_e@gmx.net>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Eisentraut @ 2005-10-03 08:43 UTC (permalink / raw)
To: Петров Р.В. <roman@fpm.ami.nstu.ru>; +Cc: pgsql-admin
Петров Р.В. wrote:
> But when I install Postgresql server on Fedora Core 4 Linux, I can't
> set LC_COLLATE and LC_CTYPE to Russian_Russia.1251. Maximum, that I
> may set, is ru_RU.KOI8-R.
> What I need to set regional setting to Russian_Russia.1251 ?
You can only use locales that the host operating system supports. On
Windows you can use Windows-style locales, on Linux you will need to
use Linux/POSIX-style locales. So ru_RU.KOI8-R is probably a good
choice, although other people more familiar with the matter may give
you better advice on a good choice of particular character encoding
combinations in heterogenous environments.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-10-03 08:43 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-10-02 04:12 How may I set LC_COLLATE and LC_CTYPE to Russian_Russia.1251 on Fedora Core Linux? Петров Р.В. <roman@fpm.ami.nstu.ru>
2005-10-03 08:43 ` Peter Eisentraut <peter_e@gmx.net>
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