From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christian Platzer <christian@rainbow-solutions.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump: schema with OID 1 does not exist
Date: Thu, 05 Aug 2004 10:03:43 -0400
Message-ID: <17904.1091714623@sss.pgh.pa.us> (raw)
In-Reply-To: <4111CEBA.70109@rainbow-solutions.net>
References: <4111CEBA.70109@rainbow-solutions.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, christian@rainbow-solutions.net
Subject: Re: pg_dump: schema with OID 1 does not exist
In-Reply-To: <17904.1091714623@sss.pgh.pa.us>
References: <4111CEBA.70109@rainbow-solutions.net> <17904.1091714623@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox