Андрей Ковальчук <mr.kovalchuk.andrey@gmail.com> writes: > Understood why. But I did not know what doing. Particularly, I need for > upgrade my cluster to new version (9.5 to 10) and i used pg_upgrade > command. Upgrade in turn used pg_dump, pg_restore combination and I can't > affect for this.
I think what you need to do is fix the dictionary definition in the source database, probably like this:
ALTER TEXT SEARCH DICTIONARY "public"."thesaurus_apteka25" ( dictionary = 'public.ispell_apteka25' );