Skip site navigation (1) Skip section navigation (2)

Re: need asap: bg_BG locale for FreeBSD

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Palle Girgensohn <girgen(at)partitur(dot)se>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: need asap: bg_BG locale for FreeBSD
Date: 2000-09-11 14:32:03
Message-ID: Pine.GSO.3.96.SK.1000911173044.4205M-100000@ra (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-sql
Palle,

thanks for the message. I've created bulgarian locale
from similar russian sources (I believe it's CP1251 charset).
Hope it would be ok.

	Regards,
		Oleg

On Mon, 11 Sep 2000, Palle Girgensohn wrote:

> Date: Mon, 11 Sep 2000 15:51:23 +0200
> From: Palle Girgensohn <girgen(at)partitur(dot)se>
> To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
> Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
> Subject: Re: [SQL] need asap: bg_BG locale for FreeBSD
> 
> Oleg Bartunov wrote:
> > 
> > Hi,
> > 
> > I'm going to Bulgaria this week to setup FreeBSD server running
> > postgres and would like to know if somebody has an experience
> > with postgres and bulgarian locale. Actually, I need
> > bg_BG locale for FreeBSD. interesting that searching for
> > subject in internet doesn't provide any information.
> > The only thing I found is bg_BG locale for Linux (Redhat)
> 
> I created a Swedish LC_COLLATE locale part for FreeBSD a while
> back, with the specific purpose of using it with PostgreSQL,
> and it was not very hard.
> 
> For sorting stuff:
> Check /usr/src/share/colldef (the sorting algoritm is defined
> by LC_COLLATE). I don't anything about bulgarian, though. Is it
> using cyrillic characters? Try using one of the russion locales
> to start with.
> 
> For character representation (LC_CTYPE), I have no experience,
> but it should also be fairly easy. Maybe Bulgarian uses a
> similar character set to for example Russian? You will only
> need a character locale for each Check /usr/src/share/mklocale
> 
> For a complete locale, you would also need timedef
> (/usr/src/share/timedef).
> 
> colldef(1) is man page to check for sorting (collate)...
> 
> mklocale(1) is for locale creation.
> 
> Good luck!
> Palle
> 

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83


In response to

pgsql-hackers by date

Next:From: Brook MilliganDate: 2000-09-11 14:37:14
Subject: pg_dump failed sanity check and user defined types
Previous:From: Mark HollomonDate: 2000-09-11 14:10:42
Subject: ALTER TABLE OWNER patch

pgsql-sql by date

Next:From: Lamar OwenDate: 2000-09-11 14:43:11
Subject: Re: [SQL] Re: [BUGS] "ORDER BY" issue - is this a bug?
Previous:From: Palle GirgensohnDate: 2000-09-11 13:51:23
Subject: Re: need asap: bg_BG locale for FreeBSD

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group