pg_dump: schema with OID 16396 does not exist

From: RW <postgres(at)tauceti(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: pg_dump: schema with OID 16396 does not exist
Date: 2006-08-30 11:23:43
Message-ID: 44F5753F.9080409@tauceti.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi everybody,

I have a problem with pg_dump. After dropping a database (DROP DATABASE ...)
I've created the database again (CREATE DATABASE ...) and restored a
dump which
we create every night. No problem so far and import was no problem and
without errors.

But now it isn't possible to make a backup because of the following error:

pg_dump: schema with OID 16396 does not exist

Postgres version is 8.1.4 and OS is Redhet ES 4 U3. I've already had the
same problem
on a completely different database (Version 8.1.3) on a different host
same szenario. But in
this case I've had the possibility to drop the entire cluster, started a
initdb and do the restore.
Problem solved. This is not possible with this cluster so I need a real
solution for the problem.

When I look at pg_namespace

mps_dev=# select * from pg_namespace ;
nspname | nspowner | nspacl
--------------------+----------+-------------------------------------------------------
pg_toast | 10 |
pg_temp_1 | 10 |
pg_catalog | 10 | {postgres=UC/postgres,=U/postgres}
information_schema | 10 | {postgres=UC/postgres,=U/postgres}
as_mps_d_p | 16387 |
cms_mps_d_p | 16389 |
{cms_mps_d_p=UC/cms_mps_d_p,as_mps_d_p=U/cms_mps_d_p}
public | 10 | {postgres=UC/postgres,=UC/postgres}
(7 rows)

there is no nspacl for schema as_mps_d_p. Seems strange to me.

Thanks for any hint.
- Robert

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-08-30 13:42:45 Re: pg_dump: schema with OID 16396 does not exist
Previous Message Nigel Bishop 2006-08-30 10:34:49 Some advice required please