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
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:
=?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
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: