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

From Tom Lane
Subject Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3
Date
Msg-id 3754.1400767126@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> 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.

Well, the case of not needing a toast table anymore is expected
(drop a wide column).  What we're scratching our heads over is the
other case.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3
Next
From: Robert Haas
Date:
Subject: Re: uuid-ossp (Re: [pgsql-packagers] Postgresapp 9.4 beta build ready)