pg_updatedicts (8)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
pg_updatedicts - build PostgreSQL dictionaries from myspell/hunspell onesSYNOPSIS
pg_updatedictsDESCRIPTION
pg_updatedicts makes dictionaries and affix files from installed myspell and hunspell dictionary packages available to PostgreSQL for usage with tsearch and word stem support. In particular, it takes all *.dic and *.aff files from /usr/share/myspell/dicts/, converts them toUTF-8,
puts them into
/var/cache/postgresql/dicts/ with *.dict and *.affix suffixes, and
symlinks them into /usr/share/postgresql/version/tsearch_data/, where
PostgreSQL looks for them.
Through postgresql-common's dpkg trigger, this program is automatically run whenever a myspell or hunspell dictionary package is installed or upgraded.