PG_UPDATEDICTS(8)
β¨ NAME β¨
pg_updatedicts β bestie, it builds PostgreSQL dictionaries out of your myspell/hunspell ones π
πΈ SYNOPSIS πΈ
pg_updatedicts
π DESCRIPTION π
Okay so here's the tea β β pg_updatedicts takes the dictionaries and affix files from your installed myspell and hunspell dictionary packages and makes them available to PostgreSQL, so tsearch and word stem support can actually use them. Slay. π
So what does it actually do? Let's break it down, no skipping: π«Ά
- it grabs all the
*.dicand*.afffiles out of/usr/share/myspell/dicts/π - it converts them to UTF-8 β¨
- it drops them into
/var/cache/postgresql/dicts/with*.dictand*.affixsuffixes π - and then it symlinks them into
/usr/share/postgresql/version/tsearch_data/β which is exactly where PostgreSQL goes looking for them π
And because of postgresql-common's dpkg trigger, this program gets run automatically whenever a myspell or hunspell dictionary package is installed or upgraded. Not you having to remember to do it yourself β the trigger literally does it for you. Iconic behavior, fr fr. π
π AUTHOR π
Martin Pitt <mpitt@debian.org> π
this whole lil page is brought to you by the Debian PostgreSQL infrastructure girlys, dated 2026-07-28 β mwah, go install some dictionaries bestie ππ¦πΈ
π¦ where this page comes from
- ubuntu stonking: postgresql-common 293ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms