Re: fix for pg_upgrade - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: fix for pg_upgrade
Date
Msg-id 201109241443.p8OEhqt25732@momjian.us
Whole thread Raw
In response to Re: fix for pg_upgrade  (panam <panam@gmx.net>)
Responses Re: fix for pg_upgrade
List pgsql-hackers
\panam wrote:
> Hi, just tried to upgrade from 9.0 to 9.1 and got this error during
> pg_upgrade :
> Mismatch of relation id: database "xyz", old relid 465783, new relid 16494
> It seems, I get this error on every table as I got it on another table
> (which I did not need and deleted) before as well. Schmemas seem to be
> migrated but the content is missing.
> 
> I am using Windows 7 64bit (both PG servers are 64 bit as well), everthing
> on the same machine.

Sorry for the delay in replying.  It is odd you got a mismatch of relids
because pg_upgrade is supposed to preserve all of those.  Can you do a
query to find out what table is relid of 465783 on the old cluster?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: What Would You Like To Do?
Next
From: Bruce Momjian
Date:
Subject: Re: Range Types - symmetric