Re: tsearch filenames unlikes special symbols and numbers - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: tsearch filenames unlikes special symbols and numbers
Date
Msg-id 87y7foir7t.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: tsearch filenames unlikes special symbols and numbers  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: tsearch filenames unlikes special symbols and numbers
List pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> Oleg Bartunov <oleg@sai.msu.su> writes:
>> postgres=# CREATE TEXT SEARCH DICTIONARY ru_ispell (
>>          TEMPLATE = ispell,
>>          DictFile = 'russian-utf8.dict',
>>          AffFile =  'russian-utf8.aff',
>>          StopWords = russian
>> );
>> ERROR:  invalid text search configuration file name "russian-utf8.dict"
>
> I made it reject all but latin letters, which is the same restriction
> that's in place for timezone set filenames.  That might be overly
> strong, but we definitely have to forbid "." and "/" (and "\" on
> Windows).  Do we want to restrict it to letters, digits, underscore?
> Or does it need to be weaker than that?

What's the problem with "."?

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Fix brain fade in DefineIndex(): it was continuing to access the
Next
From: Tom Lane
Date:
Subject: Re: tsearch filenames unlikes special symbols and numbers