Precise definition for "latin" in C locale please. Are you saying that
single byte encoding with range 0-7f? is "latin"? If so, it seems they
are exacty same as ASCII.
p_islatin returns true for ASCII alpha characters.
--
Teodor Sigaev E-mail: [EMAIL PROTECTED
> > I know. My guess is the parser does not read the stop word file at
> > least with default configuration.
>
> Parser should not read stopword file: its deal for dictionaries.
I'll come up with more detailed info, explaining why stopword file is
not read.
> > So if a character is not ASCII, it
I know. My guess is the parser does not read the stop word file at
least with default configuration.
Parser should not read stopword file: its deal for dictionaries.
So if a character is not ASCII, it returns 0 even if p_isalpha returns
1. Is this what you expect?
No, p_islatin should return
> > Currently tsearch2 does not accept non ascii stop words if locale is
> > C. Included patches should fix the problem. Patches against PostgreSQL
> > 8.2.3.
>
> I'm not sure about correctness of patch's description.
>
> First, p_islatin() function is used only in words/lexemes parser, not
> st
Currently tsearch2 does not accept non ascii stop words if locale is
C. Included patches should fix the problem. Patches against PostgreSQL
8.2.3.
I'm not sure about correctness of patch's description.
First, p_islatin() function is used only in words/lexemes parser, not stop-word
code. Second