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

Поиск
Список
Период
Сортировка
От Igor Neyman
Тема Re: pg_upgrade fails, "mismatch of relation OID" - 9.1.9 to 9.2.4
Дата
Msg-id A76B25F2823E954C9E45E32FA49D70EC1B7CDA81@mail.corp.perceptron.com
обсуждение исходный текст
Ответ на Re: pg_upgrade fails, "mismatch of relation OID" - 9.1.9 to 9.2.4  ("Evan D. Hoffman" <evandhoffman@gmail.com>)
Список pgsql-general

> -----Original Message-----
> From: Evan D. Hoffman [mailto:evandhoffman@gmail.com]
> Sent: Wednesday, May 08, 2013 4:22 PM
> To: Igor Neyman
> Cc: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] pg_upgrade fails, "mismatch of relation OID" -
> 9.1.9 to 9.2.4
>
> Well, each time it fails it refers to the file
> "/var/lib/pgsql/9.1/data/base/16406/3016054", but that's not the file
> associated with OID 2938685.
>
> Here's the output of that query:
>
> db=# Select relname from pg_class where relfilenode = 3016054::oid;
> relname
> ---------
> (0 rows)
>
> db=#
>
>

And that is before running pg_upgrade, right?

Seems like some kind of pg_catalog corruption.
I guess, Bruce Momjian would know better, what's going on here.

Igor Neyman


В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_upgrade fails, "mismatch of relation OID" - 9.1.9 to 9.2.4
Следующее
От: Gavin Flower
Дата:
Сообщение: Re: Does it make sense to break a large query into separate functions?