Re: pg_dump: schema with OID 1 does not exist

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump: schema with OID 1 does not exist
Дата
Msg-id 17904.1091714623@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump: schema with OID 1 does not exist  (Christian Platzer <christian@rainbow-solutions.net>)
Список pgsql-admin
Christian Platzer <christian@rainbow-solutions.net> writes:
> When we try to backup the database, pg_dump exits with the following error:
> pg_dump: schema with OID 1 does not exist

Say again about your software version?  There is no such message in 7.3
pg_dump.

But anyway, I'd suggest looking through the system catalogs for objects
with 1 in their xxxnamespace field (pg_class.relnamespace,
pg_type.typnamespace, etc).  What you ultimately want to do, I suspect,
is manually update the namespace field for any such object.  But first
it would be interesting to understand how it got into this state.

            regards, tom lane

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

Предыдущее
От: Christian Platzer
Дата:
Сообщение: pg_dump: schema with OID 1 does not exist
Следующее
От: G u i d o B a r o s i o
Дата:
Сообщение: Temporary tables