Re: [GENERAL] Text search dictionary vs. the C locale

2017-07-02 Thread twoflower
Tom Lane-2 wrote > Presumably the problem is that the dictionary file parsing functionsreject > anything that doesn't satisfy t_isalpha() (unless it matchest_isspace()) > and in C locale that's not going to accept very much. That's what I also guessed and the fact that setting

Re: [GENERAL] Text search dictionary vs. the C locale

2017-07-02 Thread Gmail
> On Jul 2, 2017, at 10:06 AM, Tom Lane wrote: > > twoflower writes: >> I am having problems creating an Ispell-based text search dictionary for >> Czech language. > >> Issuing the following command: > >> create text search dictionary czech_ispell

Re: [GENERAL] Text search dictionary vs. the C locale

2017-07-02 Thread Gmail
Sent from my iPad > On Jul 2, 2017, at 10:06 AM, Tom Lane wrote: > > twoflower writes: >> I am having problems creating an Ispell-based text search dictionary for >> Czech language. > >> Issuing the following command: > >> create text search

Re: [GENERAL] Text search dictionary vs. the C locale

2017-07-02 Thread Tom Lane
twoflower writes: > I am having problems creating an Ispell-based text search dictionary for > Czech language. > Issuing the following command: > create text search dictionary czech_ispell ( > template = ispell, > dictfile = czech_ispell, > affFile = czech_ispell >

Re: [GENERAL] Text search dictionary vs. the C locale

2017-07-02 Thread twoflower
Initializing the cluster with initdb --locale=C --lc-ctype=en_US.UTF-8 --lc-messages=en_US.UTF-8 --lc-monetary=en_US.UTF-8 --lc-numeric=en_US.UTF-8 --lc-time=en_US.UTF-8 --encoding=UTF8 allows me to use my text search dictionary. Now it only remains to see whether index creation will be still

[GENERAL] Text search dictionary vs. the C locale

2017-07-02 Thread twoflower
I am having problems creating an Ispell-based text search dictionary for Czech language. Issuing the following command: create text search dictionary czech_ispell ( template = ispell, dictfile = czech_ispell, affFile = czech_ispell ); ends with ERROR: syntax error CONTEXT: line 252 of