Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g0bjU-0003w2-9V for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Sep 2018 00:13:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g0bjQ-0006G3-35 for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Sep 2018 00:13:08 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g0bjP-0006Fu-Po for pgsql-bugs@lists.postgresql.org; Fri, 14 Sep 2018 00:13:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g0bjI-0000z1-JT for pgsql-bugs@lists.postgresql.org; Fri, 14 Sep 2018 00:13:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w8E0Cve5011097; Thu, 13 Sep 2018 20:12:57 -0400 From: Tom Lane To: =?UTF-8?B?0JDQvdC00YDQtdC5INCa0L7QstCw0LvRjNGH0YPQug==?= cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15382: Error create dictionary in pg_dump In-reply-to: References: <153681016068.22333.14472119446449542505@wrigleys.postgresql.org> <11550.1536859804@sss.pgh.pa.us> Comments: In-reply-to =?UTF-8?B?0JDQvdC00YDQtdC5INCa0L7QstCw0LvRjNGH0YPQug==?= message dated "Fri, 14 Sep 2018 10:05:59 +1000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11095.1536883977.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 13 Sep 2018 20:12:57 -0400 Message-ID: <11096.1536883977@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?UTF-8?B?0JDQvdC00YDQtdC5INCa0L7QstCw0LvRjNGH0YPQug=3D=3D?=3D 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 =3D 'public.ispell_apteka25' ); regards, tom lane