Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3
Date
Msg-id 20140522135510.GN7857@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3  (Bruce Momjian <bruce@momjian.us>)
Responses Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3
Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3
List pgsql-hackers
Bruce Momjian wrote:

> Moving forward, I think you need to add a dummy column to each problem
> table and drop the column ---- that will create a toast table and allow
> you to do the upgrade.  I could have pg_upgrade detect this problem, but
> until I know the cause, I don't think that is wise.

Maybe --check mode could examine both clusters and see whether each
table having toast table or not matches.  That wouldn't solve the actual
problem but at least give a clue, instead of these very obscure
problems.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL 9.4 InterlockedCompareExchange appearing in mingw64-w32 causing issue with PostGIS win32 load
Next
From: Tom Lane
Date:
Subject: Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3