From: Bruce Momjian <bruce@momjian.us>
To: Arne Henrik Segtnan <arne@basis-consulting.com>
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"
Date: Tue, 4 May 2021 12:38:20 -0400
Message-ID: <20210504163820.GC27412@momjian.us> (raw)
In-Reply-To: <701D76CE-2EF0-4955-AC16-36E86B85E4F6@basis-consulting.com>
References: <701D76CE-2EF0-4955-AC16-36E86B85E4F6@basis-consulting.com>
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 <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
If only the physical world exists, free will is an illusion.
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-general@postgresql.org
Cc: bruce@momjian.us, arne@basis-consulting.com
Subject: Re: PostgreSQL upgrade from 10 to 12 fails with "ERROR: column r.relhasoids does not exist at character 1616"
In-Reply-To: <20210504163820.GC27412@momjian.us>
References: <701D76CE-2EF0-4955-AC16-36E86B85E4F6@basis-consulting.com> <20210504163820.GC27412@momjian.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