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 1gn2SX-0001Nw-6c for pgsql-general@arkaria.postgresql.org; Fri, 25 Jan 2019 14:27:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gn2SW-0001LK-1U for pgsql-general@arkaria.postgresql.org; Fri, 25 Jan 2019 14:27:52 +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 1gn2SV-0001LD-Mn for pgsql-general@lists.postgresql.org; Fri, 25 Jan 2019 14:27:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gn2ST-0003Wf-7J for pgsql-general@postgresql.org; Fri, 25 Jan 2019 14:27:50 +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 x0PERf0n025394; Fri, 25 Jan 2019 09:27:42 -0500 From: Tom Lane To: Duarte Carreira cc: "pgsql-general@postgresql.org" Subject: Re: duplicate OID issue when using pg_upgrade to move from 9.3 to 9.5 In-reply-to: References: ,<2957.1548363745@sss.pgh.pa.us> Comments: In-reply-to Duarte Carreira message dated "Fri, 25 Jan 2019 12:49:37 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25392.1548426461.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 25 Jan 2019 09:27:41 -0500 Message-ID: <25393.1548426461@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Duarte Carreira writes: > Tom, just did a pg_dump -s from 9.3 and there are no warnings in the out= put file. It goes smoothly and fast (few seconds). Database is around 50GB= , schema 9MB. Has postgis and a few more extensions - ogr_fdw (from postig= s), file_fdw, postgres_fdw, table_func. Hmph. Would you be willing to send me a schema-only dump (off-list!) of the problematic database? The best format would be an "-Fc -s" pg_dump output, because that would show what pg_dump thinks the dependencies are. Be sure you make it with the newer pg_dump. regards, tom lane