Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iClcx-0004zp-Ed for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Sep 2019 14:17:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iClcv-0007yP-N2 for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Sep 2019 14:17:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iClcv-0007yI-Cv for pgsql-bugs@lists.postgresql.org; Tue, 24 Sep 2019 14:17:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iClct-0006TD-94 for pgsql-bugs@lists.postgresql.org; Tue, 24 Sep 2019 14:17:12 +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 x8OEH5JK014702; Tue, 24 Sep 2019 10:17:06 -0400 From: Tom Lane To: drd1@list.ru cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16019: error pg_restore from pg_dump(windows8.1-pgadmin 4.12) In-reply-to: <16019-e587cdb1ee670c25@postgresql.org> References: <16019-e587cdb1ee670c25@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Tue, 24 Sep 2019 09:29:28 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14700.1569334625.1@sss.pgh.pa.us> Date: Tue, 24 Sep 2019 10:17:05 -0400 Message-ID: <14701.1569334625@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > Then Make backup database from Pgadmin version 4.12(OS Windows 8.1) > ,PostgreSQL 9.6.2 (OS Centos 7) . pg_restore(OS Windows 8.1 with PGAdmin) > with error CREATE OPERATOR > make backup database from pg_dump(centos 7) and pg_restore(centos 7) is > OK. > This is ERROR pg_dump(Windows 8.1-Pgadmin 4.12) pg_restore(Windows > 8.1-Pgadmin 4.12) > 190923072510779341,pg_restore: creating OPERATOR "public.>" This: > 190923072510780341, Command was: CREATE OPERATOR "public".> ( > 190923072510780341, FUNCTION = "public"."mchar_icase_gt", indicates that you're using v11 or later pg_dump (prior versions would print "PROCEDURE" not "FUNCTION" here). Don't do that for this application. In general, the version of pg_dump you use must be >= the version of the source server, but <= the version of the server you intend to restore to. regards, tom lane