Avoid core dump on empty thesaurus dictionary.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b382cbb0448e32a806e03976204f767a54ce36b5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-11-30T16:38:40Z
Releases: 8.4.2
Avoid core dump on empty thesaurus dictionary.
Per report from Robert Gravsjö.

Files

PathChange+/−
src/backend/tsearch/dict_thesaurus.c modified +5 −5