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

From Андрей Ковальчук
Subject Re: BUG #15382: Error create dictionary in pg_dump
Date
Msg-id CAC-xdgppXQS1Njih2H6XqK09nDjDZ-Zq9UPonACu35Xd3nHytQ@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15382: Error create dictionary in pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
It worked. Big thanks! 

пт, 14 сент. 2018 г. в 10:12, Tom Lane <tgl@sss.pgh.pa.us>:
Андрей Ковальчук <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: David Rowley
Date:
Subject: Re: BUG #15383: Join Filter cost estimation problem in 10.5
Next
From: 'Bruce Momjian'
Date:
Subject: Re: BUG #15373: null / utf-8