Re: [HACKERS] indexable and locale - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] indexable and locale
Date
Msg-id 199910160200.LAA01650@ext16.sra.co.jp
Whole thread Raw
In response to indexable and locale  (Goran Thyni <goran@kirra.net>)
Responses Re: [HACKERS] indexable and locale
Re: [HACKERS] indexable and locale
List 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

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.
---
Tatsuo Ishii



pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: [HACKERS] vacuum of permanently updating database
Next
From: "Stéphane FILLON"
Date:
Subject: Tr: Functions documentations