Re: BUG #15382: Error create dictionary in pg_dump - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15382: Error create dictionary in pg_dump
Date
Msg-id 11096.1536883977@sss.pgh.pa.us
Whole thread Raw
In response to BUG #15382: Error create dictionary in pg_dump  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #15382: Error create dictionary in pg_dump  (Андрей Ковальчук <mr.kovalchuk.andrey@gmail.com>)
List pgsql-bugs
=?UTF-8?B?0JDQvdC00YDQtdC5INCa0L7QstCw0LvRjNGH0YPQug==?= <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'
);

            regards, tom lane


pgsql-bugs by date:

Previous
From: Андрей Ковальчук
Date:
Subject: Re: BUG #15382: Error create dictionary in pg_dump
Next
From: David Rowley
Date:
Subject: Re: BUG #15383: Join Filter cost estimation problem in 10.5