Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldy42-0004SK-07 for pgsql-general@arkaria.postgresql.org; Tue, 04 May 2021 16:38:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ldy3z-0001e4-SI for pgsql-general@arkaria.postgresql.org; Tue, 04 May 2021 16:38:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldy3z-0001dv-Kd for pgsql-general@lists.postgresql.org; Tue, 04 May 2021 16:38:23 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldy3x-0007W0-CJ for pgsql-general@lists.postgresql.org; Tue, 04 May 2021 16:38:22 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1ldy3w-0006M8-3Z; Tue, 04 May 2021 12:38:20 -0400 Date: Tue, 4 May 2021 12:38:20 -0400 From: Bruce Momjian To: Arne Henrik Segtnan Cc: pgsql-general@lists.postgresql.org Subject: Re: PostgreSQL upgrade from 10 to 12 fails with "ERROR: column r.relhasoids does not exist at character 1616" Message-ID: <20210504163820.GC27412@momjian.us> References: <701D76CE-2EF0-4955-AC16-36E86B85E4F6@basis-consulting.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <701D76CE-2EF0-4955-AC16-36E86B85E4F6@basis-consulting.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, May 4, 2021 at 06:29:17PM +0200, Arne Henrik Segtnan wrote: > Hi, > > When trying to upgrade from PostgreSQL 10 to 12, the installation fails as > shown below. > > # pg_upgradecluster --link --method=upgrade 10 main /dbdata/zabbix > > > From PosgreSQL log: > 2021-05-04 13:06:04.780 CEST [12861] LOG: database system is ready to accept > connections > done > server started > . > . > 2021-05-04 13:06:05.614 CEST [12890] postgres@zabbix_db ERROR: column > r.relhasoids does not exist at character 1616 pg_class.relhasoids was removed in PG 12. > - Other upgrade methods (clone/dump) fails with the same errors. OK, so the problem is really pg_dump. > Anyone seen similar issue? Nope, something very odd going on here. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.