"Tom Lane" <[EMAIL PROTECTED]> writes:

> Oleg Bartunov <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to