From: Tom Lane <tgl@sss.pgh.pa.us>
To: Андрей Ковальчук <mr.kovalchuk.andrey@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15382: Error create dictionary in pg_dump
Date: Thu, 13 Sep 2018 20:12:57 -0400
Message-ID: <11096.1536883977@sss.pgh.pa.us> (raw)
In-Reply-To: <CAC-xdgoJUvhADEoFr7TQ_DKXbP=mR0JV6u=KczpnLtd=59KkiA@mail.gmail.com>
References: <153681016068.22333.14472119446449542505@wrigleys.postgresql.org>
<11550.1536859804@sss.pgh.pa.us>
<CAC-xdgoJUvhADEoFr7TQ_DKXbP=mR0JV6u=KczpnLtd=59KkiA@mail.gmail.com>
=?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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, mr.kovalchuk.andrey@gmail.com
Subject: Re: BUG #15382: Error create dictionary in pg_dump
In-Reply-To: <11096.1536883977@sss.pgh.pa.us>
References: <153681016068.22333.14472119446449542505@wrigleys.postgresql.org> <11550.1536859804@sss.pgh.pa.us> <CAC-xdgoJUvhADEoFr7TQ_DKXbP=mR0JV6u=KczpnLtd=59KkiA@mail.gmail.com> <11096.1536883977@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox