Re: Upgrading to v12

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brad White <b55white(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Upgrading to v12
Date: 2022-11-11 21:16:19
Message-ID: 121078.1668201379@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Brad White <b55white(at)gmail(dot)com> writes:
> I deleted all the other DBs and left only the primary.
> Still getting the same error message, ending with

> ERROR: could not access status of transaction 22316920
> DETAIL: Could not read from file "pg_clog/0015" at offset 73728: No error.

That's a pretty clear indication of data corruption. pg_upgrade
isn't going to be able to work with a corrupted source database,
so you'll have to do something to clear that before you can get
anywhere.

There's some advice about dealing with that here:

https://wiki.postgresql.org/wiki/Corruption

but in general the news is not going to be good.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2022-11-11 21:17:26 Re: Upgrading to v12
Previous Message Brad White 2022-11-11 21:11:29 Re: Upgrading to v12