Re: pg_upgrade fails, "mismatch of relation OID" - 9.1.9 to 9.2.4

From: Igor Neyman <ineyman(at)perceptron(dot)com>
To: "Evan D(dot) Hoffman" <evandhoffman(at)gmail(dot)com>, Postgresql Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_upgrade fails, "mismatch of relation OID" - 9.1.9 to 9.2.4
Date: 2013-05-08 18:35:30
Message-ID: A76B25F2823E954C9E45E32FA49D70EC1B7CD8F8@mail.corp.perceptron.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-
> owner(at)postgresql(dot)org] On Behalf Of Evan D. Hoffman
> Sent: Wednesday, May 08, 2013 2:27 PM
> To: Postgresql Mailing List
> Subject: [GENERAL] pg_upgrade fails, "mismatch of relation OID" - 9.1.9
> to 9.2.4
>
> I've tried several times to upgrade a test database (with real data,
> ~500 GB) from 9.1 to 9.2 using pg_upgrade and every time it fails with
> the same error. I've tried a few different options to pg_upgrade but
> always the same result. Nothing really useful has turned up in Google.
> Any thoughts? Complete output is below:
>
>
>
> Linking user relation files
> /var/lib/pgsql/9.1/data/base/16406/3016054
> Mismatch of relation OID in database "dbname": old OID 2938685, new OID
> 299721 Failure, exiting
>
>

Is it always the same file, same OIDs (old/new)?
If it's the same file, did you try to find out what relation it belongs to?

Igor Neyman

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2013-05-08 18:41:12 Re: Does it make sense to break a large query into separate functions?
Previous Message Evan D. Hoffman 2013-05-08 18:27:18 pg_upgrade fails, "mismatch of relation OID" - 9.1.9 to 9.2.4

Browse pgsql-hackers by date

  From Date Subject
Next Message carla celiberti 2013-05-08 18:38:01 Taking the "varattno" in "args" (where part of a query)
Previous Message Stephen Frost 2013-05-08 18:30:26 Re: RETURNING syntax for COPY