Re: [HACKERS] Empty dictionary file when creating text search dictionary

2009-12-01 Thread Bruce Momjian
This is a duplicate report and has been fixed by Tom already. --- Robert Gravsj? wrote: > Found this a couple of weeks back and just re-tested against head: > > CREATE TEXT SEARCH DICTIONARY with an empty thesaurus file wil

[HACKERS] Empty dictionary file when creating text search dictionary

2009-12-01 Thread Robert Gravsjö
Found this a couple of weeks back and just re-tested against head: CREATE TEXT SEARCH DICTIONARY with an empty thesaurus file will crasch the backend. To reproduce: $ echo "" > $(pg_config --sharedir)/tsearch_data/thesaurus_empty.ths Then use this thesaurus to create a text search dictionary:

Re: [HACKERS] Empty dictionary file when creating text search dictionary

2009-11-30 Thread Tom Lane
=?ISO-8859-1?Q?Robert_Gravsj=F6?= writes: > Found this a couple of weeks back and just re-tested against head: > CREATE TEXT SEARCH DICTIONARY with an empty thesaurus file will crasch > the backend. Fixed, thanks for the report! regards, tom lane -- Sent via pgsql-hack

[HACKERS] Empty dictionary file when creating text search dictionary

2009-11-30 Thread Robert Gravsjö
Found this a couple of weeks back and just re-tested against head: CREATE TEXT SEARCH DICTIONARY with an empty thesaurus file will crasch the backend. To reproduce: $ echo "" > $(pg_config --sharedir)/tsearch_data/thesaurus_empty.ths Then use this thesaurus to create a text search dictionary: