=?UTF-8?B?0JDQvdC00YDQtdC5INCa0L7QstCw0LvRjNGH0YPQug==?= <mr(dot)kovalchuk(dot)andrey(at)gmail(dot)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'
);
regards, tom lane