Re: [HACKERS] Postgres 6.5 beta2 and beta3 problem

From: Oleg Broytmann <phd(at)emerald(dot)netskate(dot)ru>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Postgres 6.5 beta2 and beta3 problem
Date: 1999-06-11 07:17:22
Message-ID: Pine.LNX.4.04.9906111112420.16461-100000@emerald.netskate.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

On Thu, 10 Jun 1999, Tatsuo Ishii wrote:
> > I believe we can make the assumption, that if you --enable-locale, but do not
> > use --with-mb, then you are using single-byte locales and therefore the hack
> > might work properly.
>
> I believe at least one person uses both --enable-locale and --with-mb
> for single byte locale.

I think it's me. But very soon all in Russia will use locale+mb for koi8
and win1251 locales - all of us are always in need to convert between them.
Making Postgres convert on-the-fly is big win.

> Once I propsed another solution to BSD/OS guy (I don't remember who he
> was) and asked him to check if it worked. Unfortunately I got no
> answer from him. Then I merged it into #ifdef MULTIBYTE sections in

I remember he raised the issue few times, and finally we agreed on
-funsigned-char. I think, he got a working Postgres and locale after all.

> regcomp.c and it seems work at least for cyrillic locale (Thanks Oleg
> for testing!).

Works now pretty good!

> ---
> Tatsuo Ishii

Oleg.
----
Oleg Broytmann http://members.xoom.com/phd2/ phd2(at)earthling(dot)net
Programmers don't die, they just GOSUB without RETURN.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Samersoff 1999-06-11 07:18:23 RE: [HACKERS] locales and MB (was: Postgres 6.5 beta2 and beta3
Previous Message Tatsuo Ishii 1999-06-11 07:14:58 Re: locales and MB (was: Postgres 6.5 beta2 and beta3 problem)