Re: [HACKERS] indexable and locale

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: t-ishii(at)sra(dot)co(dot)jp
Cc: Goran Thyni <goran(at)kirra(dot)net>, PostgreSQL-development <hackers(at)postgreSQL(dot)org>, Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: [HACKERS] indexable and locale
Date: 1999-11-30 01:51:27
Message-ID: 199911300151.UAA20842@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > Hello again,
> > I thought I should start making some small contibutions before 7.0.
> >
> > Attached is a patch to the old problem discussed feverly before 6.5.
> > What is does:
> > for locale-enabled servers:
> > use index if last char before '%' is ascii.
> > for non-locale servers:
> > do not use locale if last char is non-ascii since it is wrong anyway.
> >
> > Comments?
>
> I tried your patches but it seems malformed:
>
> patch: **** unexpected end of file in patch

Yes, I had to apply it manually.

> So this is a guess from reading them. I think your pacthes break
> non-ascii multi-byte character sets data and should be surrounded by
> #ifdef LOCALE rather than replacing current codes surrounded by
> #ifndef LOCALE.

Can you supply a patch against the current tree? I don't understand
this. Thanks.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-11-30 01:52:43 Re: indexable and locale
Previous Message Bruce Momjian 1999-11-30 01:49:52 Re: indexable and locale